Share via


IXRVisualStateGroupCollection::Clear (Compact 2013)

3/28/2014

This method removes all items from the IXRVisualStateGroupCollection 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 IXRVisualStateGroupCollection::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

IXRVisualStateGroupCollection