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.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
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