Share via


_XRValueCollectionBaseT.Clear (Compact 2013)

3/28/2014

This method removes all XRValue objects from the collection.

Syntax

HRESULT STDMETHODCALLTYPE Clear()

Parameters

None.

Return Value

The following table shows the possible return values.

Value

Description

S_OK

The method succeeded.

Remarks

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

After you call this method, references to objects that were in this collection are released.

Requirements

Header

XRCollection.h

See Also

Reference

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