次の方法で共有


IXRCollection<In_T, Out_T>::Clear (Windows Embedded CE 6.0)

1/6/2010

This method removes all items from this collection.

Syntax

 virtual HRESULT STDMETHODCALLTYPE   Clear(
    void
) = 0;

Parameters

None.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

After you call this method, the value retrieved by IXRCollection<In_T, Out_T>::GetCount is zero, and references to other objects from items of this collection are also released.

.NET Framework Equivalent

System.Windows.PresentationFrameworkCollection(T).Clear

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRCollection<In_T, Out_T>