_XRValueCollectionBaseT.SetItem(int,XRValue *) (Compact 2013)
3/28/2014
This method updates the data source object at the specified index within the collection by replacing it with a new XRValue object.
Syntax
HRESULT STDMETHODCALLTYPE SetItem(
int nIndex,
XRValue * pValue)
Parameters
- nIndex
[in] The index of the XRValue object to update.
- pValue
[out] Pointer to the new XRValue object that will replace the current XRValue object located at nIndex in the collection.
Return Value
The following table shows the possible return values.
Value |
Description |
---|---|
S_OK |
The method succeeded. |
E_FAIL |
The method was not successful. |
E_POINTER |
The pValue parameter is not valid. |
Remarks
The index position at the beginning of the collection is 0.
Requirements
Header |
XRCollection.h |
See Also
Reference
_XRValueCollectionBaseT<IFace,ItemType,ItemComparer,ItemConverter,ItemLifeManager>