Method WriteName NamespaceMongoDB.Bson.IO AssemblyMongoDB.Bson.dll WriteName(string) Writes the name of an element to the writer. void WriteName(string name) Parameters name string The name of the element.