...
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# |
---|
StatusCode Search( ref ScreenPosition position, string searchText ) |
...
Visual Basic (Declaration) |
---|
Function Search ( _ ByRef position As ScreenPosition, _ searchText As String _ ) As StatusCode |
Visual C++ |
---|
StatusCode Search( ScreenPosition% position, String^ searchText ) |
...
JavaScript |
---|
function Search(position, searchText); |
Parameters
position Type: JollyGiant.Emulation..::.ScreenPosition %Position
Position of the field to search for the text.
searchText
Type: System..::.StringText String
Text to search for.
Return Value
The StatusCode indicating the result of the operation.
...
Status code | Description |
---|---|
WHLLOK | The search string was found. |
WHLLNOTCONNECTED | Your application is not currently connected to a host session. |
WHLLPARAMETERERROR | String was length zero or greater than the session presentation space size. |
WHLLPOSITIONERROR | The specified presentation space position was invalid. |
WHLLSYSERROR | The method failed due to a system error. |
WHLLNOFIELD | The search string was not found, or the session presentation space is unformatted. |
See Also
IField Interface
JollyGiant.Emulation Namespace
Send comments on this topic to Jolly Giant Software
Copyright 2009 by Jolly Giant Software, Inc.
...