 | CVVSetString Method |
Set a string element in a VV.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void SetString(
int element,
string value
)
public void SetString(
int element,
string value
)
Public Sub SetString (
element As Integer,
value As String
)
Public Sub SetString (
element As Integer,
value As String
)
public:
void SetString(
int element,
String^ value
)
public:
void SetString(
int element,
String^ value
)
member SetString :
element : int *
value : string -> unit
member SetString :
element : int *
value : string -> unit
Parameters
- element
- Type: SystemInt32
Element to set - value
- Type: SystemString
String to set
Remarks
Element being set cannot be < 0.
If the element is > current VV length, the VV length is
increased.
It is good practice to set the length ahead of time to the
expected maximum value, as some VV processes rely on the
current maximum length of the VV when you pass it in as an
argument, and unexpected results may occur if the length is
not what you expect it to be because of dynamic allocation at
an earlier time.
See Also