Represents a BSON value (this is an abstract class, see the various subclasses).
public abstract class BsonValue : IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>
BsonValue
Casts the BsonValue to a Boolean (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonArray (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonBinaryData (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonDateTime (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonDocument (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonJavaScript (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonJavaScriptWithScope (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonMaxKey (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonMinKey (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonNull (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonRegularExpression (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonSymbol (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonTimestamp (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonUndefined (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonValue (a way of upcasting subclasses of BsonValue to BsonValue at compile time).
Casts the BsonValue to a Byte[] (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a decimal (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Decimal128 (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Double (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Guid (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to an Int32 (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Int64 (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a DateTime in the local timezone (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Nullable{Boolean} (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Nullable{Decimal} (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Nullable{Decimal128} (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Nullable{Double} (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Nullable{Guid} (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Nullable{Int32} (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Nullable{Int64} (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Nullable{DateTime} in the local timezone (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Nullable{ObjectId} (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Nullable{DateTime} in UTC (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to an ObjectId (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Regex (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a String (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a DateTime in UTC (throws an InvalidCastException if the cast is not valid).
Gets the BsonType of this BsonValue.
Tests whether this BsonValue is a Boolean.
Tests whether this BsonValue is a BsonArray.
Tests whether this BsonValue is a BsonBinaryData.
Tests whether this BsonValue is a BsonDateTime.
Tests whether this BsonValue is a BsonDocument.
Tests whether this BsonValue is a BsonJavaScript.
Tests whether this BsonValue is a BsonJavaScriptWithScope.
Tests whether this BsonValue is a BsonMaxKey.
Tests whether this BsonValue is a BsonMinKey.
Tests whether this BsonValue is a BsonNull.
Tests whether this BsonValue is a BsonRegularExpression.
Tests whether this BsonValue is a BsonSymbol .
Tests whether this BsonValue is a BsonTimestamp.
Tests whether this BsonValue is a BsonUndefined.
Tests whether this BsonValue is a Decimal128.
Tests whether this BsonValue is a Double.
Tests whether this BsonValue is a Guid.
Tests whether this BsonValue is an Int32.
Tests whether this BsonValue is an Int64.
Tests whether this BsonValue is a numeric value.
Tests whether this BsonValue is an ObjectId .
Tests whether this BsonValue is a String.
Tests whether this BsonValue is a valid DateTime.
Gets or sets a value by position (only applies to BsonDocument and BsonArray).
Gets or sets a value by name (only applies to BsonDocument).
Creates a shallow clone of the BsonValue (see also DeepClone).
Compares this BsonValue to another BsonValue.
Compares the type of this BsonValue to the type of another BsonValue.
Creates a new instance of the BsonValue class.
Creates a deep clone of the BsonValue (see also Clone).
Compares this BsonValue to another BsonValue.
Compares this BsonValue to another object.
Gets the hash code.
Implementation of the IConvertible GetTypeCode method.
Implementation of the IConvertible ToBoolean method.
Implementation of the IConvertible ToByte method.
Implementation of the IConvertible ToChar method.
Implementation of the IConvertible ToDateTime method.
Implementation of the IConvertible ToDecimal method.
Implementation of the IConvertible ToDouble method.
Implementation of the IConvertible ToInt16 method.
Implementation of the IConvertible ToInt32 method.
Implementation of the IConvertible ToInt64 method.
Implementation of the IConvertible ToSByte method.
Implementation of the IConvertible ToSingle method.
Implementation of the IConvertible ToString method.
Implementation of the IConvertible ToUInt16 method.
Implementation of the IConvertible ToUInt32 method.
Implementation of the IConvertible ToUInt64 method.
Implementation of operator ==.
Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness).
Converts this BsonValue to a Decimal.
Converts this BsonValue to a Decimal128.
Converts this BsonValue to a Double.
Converts this BsonValue to an Int32.
Converts this BsonValue to an Int64.
Converts this BsonValue to a DateTime in local time.
Converts this BsonValue to a DateTime? in local time.
Converts this BsonValue to a DateTime? in UTC.
Converts this BsonValue to a DateTime in UTC.
Compares two BsonValues.
Casts a BsonValue to a Decimal128.
Casts a BsonValue to an ObjectId.
Casts a BsonValue to a bool.
Casts a BsonValue to a byte[].
Casts a BsonValue to a DateTime.
Casts a BsonValue to a decimal.
Casts a BsonValue to a double.
Casts a BsonValue to a Guid.
Casts a BsonValue to an int.
Casts a BsonValue to a long.
Casts a BsonValue to a nullable Decimal128?.
Casts a BsonValue to an ObjectId?.
Casts a BsonValue to a bool?.
Casts a BsonValue to a DateTime?.
Casts a BsonValue to a decimal?.
Casts a BsonValue to a double?.
Casts a BsonValue to a Guid?.
Casts a BsonValue to an int?.
Casts a BsonValue to a long?.
Casts a BsonValue to a string.
Casts a BsonValue to a Regex.
Compares two BsonValues.
Compares two BsonValues.
Converts a Decimal128 to a BsonValue.
Converts an ObjectId to a BsonValue.
Converts a bool to a BsonValue.
Converts a byte[] to a BsonValue.
Converts a DateTime to a BsonValue.
Converts a decimal to a BsonValue.
Converts a double to a BsonValue.
Converts an Enum to a BsonValue.
Converts an int to a BsonValue.
Converts a long to a BsonValue.
Converts a nullable Decimal128 to a BsonValue.
Converts an ObjectId? to a BsonValue.
Converts a bool? to a BsonValue.
Converts a DateTime? to a BsonValue.
Converts a decimal? to a BsonValue.
Converts a double? to a BsonValue.
Converts an int? to a BsonValue.
Converts a long? to a BsonValue.
Converts a string to a BsonValue.
Converts a Regex to a BsonValue.
Compares two BsonValues.
Compares two BsonValues.
Compares two BsonValues.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4