Share via


IXRColorKeyFrameCollection::Clear (Compact 2013)

3/28/2014

This method removes all items from the IXRColorKeyFrameCollection collection.

Syntax

virtual HRESULT STDMETHODCALLTYPE Clear() = 0;

Parameters

None.

Return Value

Returns S_OK if successful; otherwise, returns an HRESULT error code. For common error codes for XAML for Windows Embedded , see XAML for Windows Embedded Error Messages.

Remarks

After you call this method, the value that IXRColorKeyFrameCollection::GetCount retrieves 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

IXRColorKeyFrameCollection
IXRColorAnimationUsingKeyFrames::GetKeyFrames