BsonJavaScript Constructor |
Initializes a new instance of the BsonJavaScript class.
Namespace:
MongoDB.Bson
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntaxpublic BsonJavaScript(
string code
)
Public Sub New (
code As String
)
new :
code : string -> BsonJavaScript
Parameters
- code
- Type: SystemString
The JavaScript code.
See Also