dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBObject Class / HasField Method

On this page
    HasField Method
    On this page
    Returns true if the document contains a field with the specified name or dot-separated path, for example "address.city" or "items.0"; an empty name means the document itself.
    Syntax
    'Declaration
     
    Public Function HasField( _
       ByVal name As String _
    ) As Boolean
    public bool HasField( 
       string name
    )

    Parameters

    name
    See Also