![](../icons/Help.png) | CVVUSearchReplaceTextEx Method |
Search and replace text values in a VV, count items changed.
Available since Oasis montaj version: 6.0.1
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
Search comparison is made on a string comparison
of the data.
Syntaxpublic static void SearchReplaceTextEx(
CGXNETCore gxNetShared,
CVV vv,
int format,
int decimal,
string val,
string rpl,
int mode,
ref int items
)
Public Shared Sub SearchReplaceTextEx (
gxNetShared As CGXNETCore,
vv As CVV,
format As Integer,
decimal As Integer,
val As String,
rpl As String,
mode As Integer,
ByRef items As Integer
)
public:
static void SearchReplaceTextEx(
CGXNETCore^ gxNetShared,
CVV^ vv,
int format,
int decimal,
String^ val,
String^ rpl,
int mode,
int% items
)
static member SearchReplaceTextEx :
gxNetShared : CGXNETCore *
vv : CVV *
format : int *
decimal : int *
val : string *
rpl : string *
mode : int *
items : int byref -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - vv
- Type: GeoEngine.Core.GXNetXCVV
- format
- Type: SystemInt32
String format for numeric VV - decimal
- Type: SystemInt32
Decimals for formating numeric VV - val
- Type: SystemString
Formatted string to replace - rpl
- Type: SystemString
Replacement - mode
- Type: SystemInt32
<define>VVU_SRCHREPL_CASE</define> - items
- Type: SystemInt32
Number of items replaced (returned)
See Also