Attachmate Reflection 2014 .NET API Reference
Length Property
Example 


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;
Requirements

Target Platforms: Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP, Microsoft Windows Server 2003 Terminal Services, Microsoft Windows Server 2008 Terminal Services

See Also

Reference

HostField Class
HostField Members
GetText Method

Send Feedback