| CVVUiSearchText Method |
Search for a text value in a VV
Available since Oasis montaj version: 5.0.8
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
Search comparison is made on string comparison
of the data. Returns index of first item matching
the input string.
If start index is -1 or dummy, then full VV is searched.
Use VVU_MATCH_INPUT_LENGTH to match the first part of a string.
This is also recommended for matching numerical values, since
the displayed value in the database may not be the same as the
stored value.
Syntax public static int iSearchText(
CVV oVV1,
string str2,
int i3,
int i4,
int i5,
int i6
)
Public Shared Function iSearchText (
oVV1 As CVV,
str2 As String,
i3 As Integer,
i4 As Integer,
i5 As Integer,
i6 As Integer
) As Integer
public:
static int iSearchText(
CVV^ oVV1,
String^ str2,
int i3,
int i4,
int i5,
int i6
)
static member iSearchText :
oVV1 : CVV *
str2 : string *
i3 : int *
i4 : int *
i5 : int *
i6 : int -> int
Parameters
- oVV1
- Type: GeoEngine.Core.GXNetCVV
VV to search - str2
- Type: SystemString
Text to match - i3
- Type: SystemInt32
See VVU_CASEConstant - i4
- Type: SystemInt32
See VVU_MATCHConstant - i5
- Type: SystemInt32
index to begin search (-1 for full VV) - i6
- Type: SystemInt32
1: forward search, -1: backward search
Return Value
Type:
Int32Index of first matching text, -1 if not found.
See Also