Click or drag to resize

BsonJavaScript Constructor

Initializes a new instance of the BsonJavaScript class.

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax
public BsonJavaScript(
	string code
)

Parameters

code
Type: SystemString
The JavaScript code.
See Also