Table of Contents

Class BsonSymbol

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Represents a BSON symbol value.

public class BsonSymbol : BsonValue, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonSymbol>, IEquatable<BsonSymbol>
Inheritance
BsonSymbol
Implements
Inherited Members
Extension Methods

Properties

BsonType

Gets the BsonType of this BsonValue.

Name

Gets the name of the symbol.

Methods

CompareTo(BsonSymbol)

Compares this BsonSymbol to another BsonSymbol.

CompareTo(BsonValue)

Compares the BsonSymbol to another BsonValue.

Create(object)

Creates a new BsonSymbol.

Equals(BsonSymbol)

Compares this BsonSymbol to another BsonSymbol.

Equals(object)

Compares this BsonSymbol to another object.

GetHashCode()

Gets the hash code.

ToString()

Returns a string representation of the value.

Operators

operator ==(BsonSymbol, BsonSymbol)

Compares two BsonSymbol values.

implicit operator BsonSymbol(string)

Converts a string to a BsonSymbol.

operator !=(BsonSymbol, BsonSymbol)

Compares two BsonSymbol values.