Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Application Server

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.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in