Class BsonString
Represents a BSON string value.
public class BsonString : BsonValue, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonString>, IEquatable<BsonString>
- Inheritance
-
BsonString
- Implements
- Inherited Members
- Extension Methods
Constructors
- BsonString(string)
Initializes a new instance of the BsonString class.
Properties
- BsonType
Gets the BsonType of this BsonValue.
- Empty
Gets an instance of BsonString that represents an empty string.
- Value
Gets the value of this BsonString.
Methods
- CompareTo(BsonString)
Compares this BsonString to another BsonString.
- CompareTo(BsonValue)
Compares the BsonString to another BsonValue.
- Create(object)
Creates a new BsonString.
- Equals(BsonString)
Compares this BsonString to another BsonString.
- Equals(object)
Compares this BsonString to another object.
- GetHashCode()
Gets the hash code.
- IConvertibleGetTypeCodeImplementation()
Implementation of the IConvertible GetTypeCode method.
- IConvertibleToBooleanImplementation(IFormatProvider)
Implementation of the IConvertible ToBoolean method.
- IConvertibleToByteImplementation(IFormatProvider)
Implementation of the IConvertible ToByte method.
- IConvertibleToCharImplementation(IFormatProvider)
Implementation of the IConvertible ToChar method.
- IConvertibleToDateTimeImplementation(IFormatProvider)
Implementation of the IConvertible ToDateTime method.
- IConvertibleToDecimalImplementation(IFormatProvider)
Implementation of the IConvertible ToDecimal method.
- IConvertibleToDoubleImplementation(IFormatProvider)
Implementation of the IConvertible ToDouble method.
- IConvertibleToInt16Implementation(IFormatProvider)
Implementation of the IConvertible ToInt16 method.
- IConvertibleToInt32Implementation(IFormatProvider)
Implementation of the IConvertible ToInt32 method.
- IConvertibleToInt64Implementation(IFormatProvider)
Implementation of the IConvertible ToInt64 method.
- IConvertibleToSByteImplementation(IFormatProvider)
Implementation of the IConvertible ToSByte method.
- IConvertibleToSingleImplementation(IFormatProvider)
Implementation of the IConvertible ToSingle method.
- IConvertibleToStringImplementation(IFormatProvider)
Implementation of the IConvertible ToString method.
- IConvertibleToUInt16Implementation(IFormatProvider)
Implementation of the IConvertible ToUInt16 method.
- IConvertibleToUInt32Implementation(IFormatProvider)
Implementation of the IConvertible ToUInt32 method.
- IConvertibleToUInt64Implementation(IFormatProvider)
Implementation of the IConvertible ToUInt64 method.
- ToBoolean()
Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness).
- ToDecimal()
Converts this BsonValue to a Decimal.
- ToDecimal128()
Converts this BsonValue to a Decimal128.
- ToDouble()
Converts this BsonValue to a Double.
- ToInt32()
Converts this BsonValue to an Int32.
- ToInt64()
Converts this BsonValue to an Int64.
- ToString()
Returns a string representation of the value.
Operators
- operator ==(BsonString, BsonString)
Compares two BsonString values.
- implicit operator BsonString(string)
Converts a string to a BsonString.
- operator !=(BsonString, BsonString)
Compares two BsonString values.