Partager via


_XRValueCollectionBaseT.GetItem(int,XRValue *) (Compact 7)

3/12/2014

This method obtains the XRValue object at the specified index within the collection.

Syntax

HRESULT STDMETHODCALLTYPE GetItem(
int nIndex,
XRValue * pValue)

Parameters

  • nIndex
    [in] The index of the XRValue object to obtain.
  • pValue
    [out] Pointer to the XRValue object at the specified index within the collection.

Return Value

The following table shows the possible return values.

Value Description

S_OK

The method succeeded.

E_POINTER

The pValue parameter is not valid.

E_INVALIDARG

The index location is not valid.

Requirements

Header

XRCollection.h

See Also

Reference

_XRValueCollectionBaseT<IFace,ItemType,ItemComparer,ItemConverter,ItemLifeManager>
_XRValueCollectionBaseT.GetCount(int *)
_XRValueCollectionBaseT.RemoveAt(int)