Partager via


IXRSetterBaseCollection::Clear (Compact 2013)

3/28/2014

This method removes all items from the IXRSetterBaseCollection collection.

Syntax

virtual HRESULT STDMETHODCALLTYPE Clear() = 0;

Parameters

None.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

After you call this method, the value retrieved by IXRSetterBaseCollection::GetCount is 0 (zero), and references to other objects from the items that were in this collection are also released.

.NET Framework Equivalent

System.Windows.PresentationFrameworkCollection(T).Clear

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRSetterBaseCollection
IXRStyle::GetSetters