dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBType Enumeration

On this page
    MongoDBType Enumeration
    On this page
    Specifies the data type of a field or parameter.
    Syntax
    'Declaration
     
    Public Enum MongoDBType 
       Inherits System.Enum
       Implements System.IComparable, System.IConvertible, System.IFormattable 
    Members
    MemberDescription
    ArrayAn array (BSON type 4).
    BinaryBinary data (BSON type 5).
    BooleanA Boolean value (BSON type 8).
    CodeJavaScript code (BSON type 13).
    DateA UTC date and time (BSON type 9).
    DateTimeOffsetA DateTimeOffset stored as defined by the DateTimeOffset Format connection string parameter (see MongoDBDateTimeOffsetFormat); not a separate BSON type.
    Decimal128A 128-bit decimal floating-point number (BSON type 19).
    DoubleA 64-bit floating-point number (BSON type 1).
    IntegerA 32-bit integer (BSON type 16).
    LongA 64-bit integer (BSON type 18).
    MaxKeyThe BSON MaxKey value, which compares higher than all other values (127).
    MinKeyThe BSON MinKey value, which compares lower than all other values (-1).
    NullA a null reference (Nothing in Visual Basic) value (BSON type 10).
    ObjectAn embedded document (BSON type 3).
    OidAn ObjectId (BSON type 7).
    RegexA regular expression (BSON type 11).
    ScopeCodeJavaScript code with scope (BSON type 15).
    StringA UTF-8 string (BSON type 2).
    TimeStampA BSON timestamp (BSON type 17).
    UninitializedThe type is not set (0).
    UuidA Guid stored as 16 bytes of binary data of subtype 4 or 3 (see MongoDBGuidFormat); not a separate BSON type.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Devart.Data.MongoDB.MongoDBType

    See Also