Translate page

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#
StatusCode Attribute(
	ScreenPosition position,
	ref byte attribute
)
Visual Basic (Declaration)
Function Attribute ( _
	position As ScreenPosition, _
	ByRef attribute As Byte _
) As StatusCode
Visual C++
StatusCode Attribute(
	ScreenPosition position, 
	unsigned char% attribute
)
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 codeDescription
WHLLOKField attribute found successfully.
WHLLNOTCONNECTEDYour application is not currently connected to a host session.
WHLLPOSITIONERRORInvalid value specified for presentation space position.
WHLLSYSERRORThe method failed due to a system error.
WHLLNOFIELDField attribute not found due to unformatted session presentation space.


See Also


IField Interface
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.