/
Attribute_Method.

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.


Related content

Attribute Method
Attribute Method
More like this
Field.Attribute Method
Field.Attribute Method
More like this
IField_Attribute Method
IField_Attribute Method
More like this
FieldAttribute Method
FieldAttribute Method
More like this
QWS3270.FieldAttribute_Method
QWS3270.FieldAttribute_Method
More like this
Get Position Method
Get Position Method
More like this