Click or drag to resize

BsonBinaryWriterWriteJavaScriptWithScope Method

Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope).

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntax
public override void WriteJavaScriptWithScope(
	string code
)

Parameters

code
Type: SystemString
The JavaScript code.

Implements

IBsonWriterWriteJavaScriptWithScope(String)
See Also