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

On this page
    GetValue Method (MongoDBObject)
    On this page
    Returns the value of the specified field as an object of the .NET type that corresponds to its BSON type; returns a null reference (Nothing in Visual Basic) for a a null reference (Nothing in Visual Basic) or missing field.
    Syntax
    'Declaration
     
    Public Function GetValue( _
       ByVal name As String _
    ) As Object
    public object GetValue( 
       string name
    )

    Parameters

    name
    See Also