Reflection .NET API
Attachmate.Reflection.Emulation.IbmHosts Assembly / Attachmate.Reflection.Emulation.IbmHosts Namespace / HostField Class / ForegroundColor Property
Example


In This Topic
    ForegroundColor Property (HostField)
    In This Topic
    Gets the foreground color for the specified terminal attribute.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property ForegroundColor As ScreenColor
    'Usage
     
    
    Dim instance As HostField
    Dim value As ScreenColor
     
    value = instance.ForegroundColor
    public ScreenColor ForegroundColor {get;}
    Example
    HostField host;
    ScreenColor scrColor;
    //Get the foreground color.
    scrColor = host.ForegroundColor;
    See Also