dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBField Class / AsCode Property

On this page
    AsCode Property
    On this page
    Gets or sets the value of the field as the text of JavaScript code. Returns a null reference (Nothing in Visual Basic) for a missing field; throws System.InvalidOperationException for the other types, including code with scope.
    Syntax
    'Declaration
     
    Public Property AsCode As String
    public string AsCode {get; set;}
    See Also