Method WriteJavaScript
WriteJavaScript(IBsonWriter, string, string)
Writes a BSON JavaScript element to the writer.
public static void WriteJavaScript(this IBsonWriter writer, string name, string code)
Parameters
writerIBsonWriterThe writer.
namestringThe name of the element.
codestringThe JavaScript code.