IXRValueCollection::Clear (Compact 2013)
3/28/2014
This method removes all items from the IXRValueCollection 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 retrieved by IXRValueCollection::GetCount is 0 (zero), and references to other objects from the items that were in this collection are also released.
.NET Framework Equivalent
System.Collections.Generic.ICollection(T).Clear
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |