Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Image Removed       



QWS3270 COM .NET Help
Field..::.GetPreviousLength Method
Field Class  See Also  Send Feedback
Gets the length of the previous field of the specified FieldType, starting at the specified screen position.

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

Image RemovedSyntax


C#
public StatusCode GetPreviousLength(
	ScreenPosition position,
	ref int length,
	FieldType fieldType
)


Visual Basic (Declaration)
Public Function GetPreviousLength ( _
	position As ScreenPosition, _
	ByRef length As Integer, _
	fieldType As FieldType _
) As StatusCode


Visual C++
public:
virtual StatusCode GetPreviousLength(
	ScreenPosition position, 
	int% length, 
	FieldType fieldType
) sealed


JavaScript
function GetPreviousLength(position, length, fieldType);


Parameters

position
Type: JollyGiant.Emulation..::.ScreenPositionCurrent ScreenPosition
Current ScreenPosition.

length
Type: System..::.Int32 %Will
Will on return contain the length of the IField.

fieldType
Type: JollyGiant.Emulation..::.FieldTypeFieldType FieldType
FieldType of field to get the length for.

Return Value

The StatusCode indicating the result of the operation.

This can be one of the following values:


Status codeDescription
WHLLOKThe specified field length was found.
WHLLNOTCONNECTEDYour application is not currently connected to a host session.
WHLLPARAMETERERROROne or more of the call parameters are invalid.
WHLLPOSITIONERRORThe specified presentation space position is invalid.
WHLLSYSERRORThe method failed due to a system error.
WHLLNOFIELDThe specified field was not found, or the session presentation space is unformatted.
WHLLZEROLENFIELDThe specified field has a length of zero.


Implements

IField..::.GetPreviousLength(ScreenPosition, Int32%, FieldType)

Image RemovedRemarks

The attribute byte of a IField is not included in it's length.

Image RemovedSee Also


Send comments on this topic toJolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.