 | CVVSetInt Method |
Set an integer element in a VV.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void SetInt(
int element,
int value
)
public void SetInt(
int element,
int value
)
Public Sub SetInt (
element As Integer,
value As Integer
)
Public Sub SetInt (
element As Integer,
value As Integer
)
public:
void SetInt(
int element,
int value
)
public:
void SetInt(
int element,
int value
)
member SetInt :
element : int *
value : int -> unit
member SetInt :
element : int *
value : int -> unit
Parameters
- element
- Type: SystemInt32
Element to set - value
- Type: SystemInt32
Value 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