Share via


_XRValueCollectionBaseT.RemoveAt(int) (Compact 2013)

3/28/2014

This method removes the XRValue object at the specified index in the collection.

Syntax

HRESULT STDMETHODCALLTYPE RemoveAt(
int nIndex)

Parameters

  • nIndex
    [in] Index of the XRValue object to remove.

Return Value

The following table shows the possible return values.

Value

Description

S_OK

The method succeeded.

E_INVALIDARG

The index position is not valid.

Remarks

This method updates the current version of the collection, which is stored in m_nVersion.

The index position at the beginning of the collection is 0 (zero).

Requirements

Header

XRCollection.h

See Also

Reference

_XRValueCollectionBaseT<IFace,ItemType,ItemComparer,ItemConverter,ItemLifeManager>