Method WriteString
WriteString(IBsonWriter, string, string)
Writes a BSON String element to the writer.
public static void WriteString(this IBsonWriter writer, string name, string value)
Parameters
writerIBsonWriterThe writer.
namestringThe name of the element.
valuestringThe String value.