Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Searches the field at the specified position for the specified text.

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

Syntax

C#
public StatusCode Search(
	ref ScreenPosition position,
	string searchText
)
Visual Basic (Declaration)
Public Function Search ( _
	ByRef position As ScreenPosition, _
	searchText As String _
) As StatusCode
Visual C++
public:
virtual StatusCode Search(
	ScreenPosition% position, 
	String^ searchText
) sealed
JavaScript
function Search(position, searchText);

Parameters

position
Type: JollyGiant.Emulation..ScreenPosition
Position of the field to search for the text.

searchText
Type: System..String
Text to search for.

Return Value

The StatusCode indicating the result of the operation.

This can be one of the following values:

Status codeDescription
WHLLOKThe search string was found.
WHLLNOTCONNECTEDYour application is not currently connected to a host session.
WHLLPARAMETERERRORString was length zero or greater than the session presentation space size.
WHLLPOSITIONERRORThe specified presentation space position was invalid.
WHLLSYSERRORThe method failed due to a system error.
WHLLNOFIELDThe search string was not found, or the session presentation space is unformatted.


Implements

IField..Search(ScreenPosition, String)

See Also


Field Class
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.


  • No labels