Click or drag to resize

BsonValue  Conversion Operators

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