Compartilhar via


IXRItemCollection::RemoveAt (Compact 2013)

3/28/2014

This method removes the item at the specified index from this collection.

Syntax

virtual HRESULT STDMETHODCALLTYPE RemoveAt(
  __in int Index
) = 0;

Parameters

  • Index
    [in] Integer value that specifies the zero-based index of the position of the item to remove from the collection.

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.

.NET Framework Equivalent

System.Windows.PresentationFrameworkCollection(T).RemoveAt

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRItemCollection
IXRItemsControl::GetItems