dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBParameter Class / MongoDBType Property

On this page
    MongoDBType Property (MongoDBParameter)
    On this page
    Gets or sets the MongoDB data type of the parameter, which defines how the value is written into a native command (for example, Long as {"$numberLong": ...}, Oid as {"$oid": ...}, Object as JSON text inserted as is). If the type is not set, it is inferred from the type of Value; for a a null reference (Nothing in Visual Basic) value it is MongoDBType.String.
    Syntax
    'Declaration
     
    Public Property MongoDBType As MongoDBType
    public MongoDBType MongoDBType {get; set;}
    See Also