Click or drag to resize

BsonValue  Conversion Operators

Overload List
  NameDescription
Public operatorStatic member(BsonValue to Boolean)
Casts a BsonValue to a bool.
Public operatorStatic member(BsonValue to NullableBoolean)
Casts a BsonValue to a bool?.
Public operatorStatic member(BsonValue to Byte)
Casts a BsonValue to a byte[].
Public operatorStatic member(BsonValue to DateTime)
Casts a BsonValue to a DateTime.
Public operatorStatic member(BsonValue to NullableDateTime)
Casts a BsonValue to a DateTime?.
Public operatorStatic member(BsonValue to Decimal)
Casts a BsonValue to a decimal.
Public operatorStatic member(BsonValue to NullableDecimal)
Casts a BsonValue to a decimal?.
Public operatorStatic member(BsonValue to Decimal128)
Casts a BsonValue to a Decimal128.
Public operatorStatic member(BsonValue to NullableDecimal128)
Casts a BsonValue to a nullable Decimal128?.
Public operatorStatic member(BsonValue to Double)
Casts a BsonValue to a double.
Public operatorStatic member(BsonValue to NullableDouble)
Casts a BsonValue to a double?.
Public operatorStatic member(BsonValue to Guid)
Casts a BsonValue to a Guid.
Public operatorStatic member(BsonValue to NullableGuid)
Casts a BsonValue to a Guid?.
Public operatorStatic member(BsonValue to Int32)
Casts a BsonValue to an int.
Public operatorStatic member(BsonValue to NullableInt32)
Casts a BsonValue to an int?.
Public operatorStatic member(BsonValue to Int64)
Casts a BsonValue to a long.
Public operatorStatic member(BsonValue to NullableInt64)
Casts a BsonValue to a long?.
Public operatorStatic member(BsonValue to ObjectId)
Casts a BsonValue to an ObjectId.
Public operatorStatic member(BsonValue to NullableObjectId)
Casts a BsonValue to an ObjectId?.
Public operatorStatic member(BsonValue to Regex)
Casts a BsonValue to a Regex.
Public operatorStatic member(BsonValue to String)
Casts a BsonValue to a string.
Top
See Also