Table of Contents

Method WriteString

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

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 IBsonWriter

The writer.

name string

The name of the element.

value string

The String value.