| CSYSErrorTag Method |
Set an error message tag string
Available since Oasis montaj version: 5.0.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
Use this method to replace tag strings in your error
message text with run-time information. For example,
Geosoft error messages often use the tag strings "%1",
"%2", etc. as place holders to be replaced by a string
which is only known at run-time.
Syntax public static void ErrorTag(
string str1,
string str2
)
Public Shared Sub ErrorTag (
str1 As String,
str2 As String
)
public:
static void ErrorTag(
String^ str1,
String^ str2
)
static member ErrorTag :
str1 : string *
str2 : string -> unit
Parameters
- str1
- Type: SystemString
tag string, ie "%1". - str2
- Type: SystemString
string to replace the tag.
See Also