Partager via


IXRPathFigureCollection::Clear (Compact 2013)

3/28/2014

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

IXRPathFigureCollection
IXRPathGeometry::GetFigures
IXRPathGeometry::SetFigures