InfoConnect API Guide
Attachmate.Reflection.Emulation.IbmHosts Namespace / HostField Class / Length Property
Example


In This Topic
    Length Property (HostField)
    In This Topic
    Gets the length of this field, including field attributes.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property Length As Integer
    'Usage
     
    
    Dim instance As HostField
    Dim value As Integer
     
    value = instance.Length
    public int Length {get;}
    Remarks
    To determine the text length, use String.length on the string returned by IIbmScreen.GetText(). This returns the number of elements in the field.
    Example
    HostField host;
    int FieldLength = host.Length;
    See Also