GetElement method
- Last UpdatedJul 23, 2024
- 1 minute read
Gets an element from an array held in an MxValue.
Class
IMxValue
Syntax
[C#]
void GetElement(
int index1,
MxValue pMxValue
);
[Visual C++]
HRESULT GetElement(
[in] long index1,
[in] IMxValue *pMxValue
);
Parameters
index1
Index into the one-dimensional array.
pMxValue
Receives the specified element's value.
Returns
MX_E_InvalidIndex - Index is out of range.
MX_E_WrongNumberOfDimensions - This is not a one-dimensional array.