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
writer
IBsonWriterThe writer.
name
stringThe name of the element.
value
stringThe String value.