WrappingBsonWriterWriteJavaScriptWithScope 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.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax public virtual void WriteJavaScriptWithScope(
string code
)
Public Overridable Sub WriteJavaScriptWithScope (
code As String
)
abstract WriteJavaScriptWithScope :
code : string -> unit
override WriteJavaScriptWithScope :
code : string -> unit
Parameters
- code
- Type: SystemString
The JavaScript code.
Implements
IBsonWriterWriteJavaScriptWithScope(String)See Also