Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / TextLengthValidator Class / Encoding Property


In This Topic
    Encoding Property (TextLengthValidator)
    In This Topic
    Gets or sets the encoding.
    Syntax
    'Declaration
     
    
    Public Property Encoding As Encoding
    'Usage
     
    
    Dim instance As TextLengthValidator
    Dim value As Encoding
     
    instance.Encoding = value
     
    value = instance.Encoding
    public Encoding Encoding {get; set;}

    Property Value

    The encoding. The default is System.Text.Encoding.Unicode.
    Exceptions
    ExceptionDescription
    The assigned value is a null reference (Nothing in Visual Basic).
    See Also