Attribute Method
Gets the attribute of the field at the specified position.
Namespace: Â JollyGiant.Emulation
Assembly: Â JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public StatusCode Attribute( ScreenPosition position, ref byte attribute ) |
Visual Basic (Declaration) |
---|
Public Function Attribute ( _ position As ScreenPosition, _ ByRef attribute As Byte _ ) As StatusCode |
Visual C++ |
---|
public: virtual StatusCode Attribute( ScreenPosition position, unsigned char% attribute ) sealed |
JavaScript |
---|
function Attribute(position, attribute); |
Parameters
position
Type: JollyGiant.Emulation..ScreenPosition
The position of the field to get the attribute of.
attribute
Type: System..Byte
After successful call will contain the attribute of the specified field. The value is unspecified if the method fails.
Return Value
The StatusCode indicating the result of the operation.This can be one of the following values:
Status code | Description |
---|---|
WHLLOK | Field attribute found successfully. |
WHLLNOTCONNECTED | Your application is not currently connected to a host session. |
WHLLPOSITIONERROR | Invalid value specified for presentation space position. |
WHLLSYSERROR | The method failed due to a system error. |
WHLLNOFIELD | Field attribute not found due to unformatted session presentation space. |