Compartilhar via


IXRDoubleCollection::Remove (Compact 2013)

3/28/2014

This method removes the last occurrence of a specific item from the IXRDoubleCollection collection.

Syntax

virtual HRESULT STDMETHODCALLTYPE Remove(
    __in float Value
) = 0;

Parameters

  • Value
    [in] Floating point value that represents an item to remove from this collection.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

This method performs a linear search through this collection; therefore, the average execution time is proportional to the number of items in this collection. You can retrieve this number by calling IXRDoubleCollection::GetCount.

When the collection contains duplicate values at different indexes, this method searches the collection for each duplicate value in reverse order, starting at the last occurrence of the value, and ending with the first occurrence of the value.

Therefore, if this collection contains the item more than once, it will remove the last occurrence of the item.

.NET Framework Equivalent

System.Windows.PresentationFrameworkCollection(T).Remove

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRDoubleCollection
IXRShape::GetStrokeDashArray
IXRShape::SetStrokeDashArray