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.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
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