Share via


XRValueCollectionT.Remove(const ItemType&) (Compact 7)

3/12/2014

This method removes the specified item of type ItemType from the collection.

Syntax

HRESULT Remove(
const ItemType & Value)

Parameters

  • Value
    [in] A pointer to the item of type ItemType to remove from the collection.

Return Value

The following table shows the possible return values.

Value Description

S_OK

The method was successful.

E_FAIL

The method was unsuccessful.

E_POINTER

The Value parameter is not valid.

E_NOTFOUND

The object in Value is not equal to an object in the collection.

Requirements

Header

XRCollection.h

See Also

Reference

XRValueCollectionT<IFace,ItemType>