Translate page

QWS3270.FieldLength Method

Gets the length of the field (protected or unprotected) specified by the cursor position.

Namespace:  JollyGiant.Emulation
Assembly:  JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public StatusCode FieldLength(
	int row,
	int column,
	ref int length
)
Visual Basic (Declaration)
Public Function FieldLength ( _
	row As Integer, _
	column As Integer, _
	ByRef length As Integer _
) As StatusCode
Visual C++
public:
virtual StatusCode FieldLength(
	int row, 
	int column, 
	int% length
) sealed
JavaScript
function FieldLength(row, column, length);


Parameters

row
Type: System.Int32
The row position of the field.

column
Type: System.Int32
The column position of the field.

length
Type: System.Int32
The length.

Return Value

The StatusCode indicating the result of the operation.

This can be one of the following values:

Status codeDescription
OkThe length of the specified field was found.
NotConnectedYour application is not currently connected to a host session.
ParameterErrorOne or more of the call parameters are invalid.
InvalidPositionThe position argument specifies an invalid presentation space position.
SystemErrorThe method failed due to a system error.
NoSuchFieldThe specified field was not found, or the host session presentation space is unformatted.
ZeroLengthFieldThe specified field has a length of zero.


Implements

IQWS3270.FieldLength(Int32, Int32, Int32)

See Also


QWS3270 Class
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.