IXRItemCollection::Clear (Compact 2013)
3/28/2014
This method removes all items from this 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 IXRItemCollection::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 |