Aracılığıyla paylaş


CompositionColorGradientStopCollection.IndexOf Method

Definition

Retrieves the index of the specified item.

public:
 virtual bool IndexOf(CompositionColorGradientStop ^ value, [Out] unsigned int & index) = IVector<CompositionColorGradientStop ^>::IndexOf;
bool IndexOf(CompositionColorGradientStop const& value, [Out] uint32_t & index);
public bool IndexOf(CompositionColorGradientStop value, out uint index);
Public Function IndexOf (value As CompositionColorGradientStop, ByRef index As UInteger) As Boolean

Parameters

value
CompositionColorGradientStop

The value to find in the collection.

index
UInt32

unsigned int

uint32_t

The index of the item to find, if found.

Returns

Boolean

bool

true if an item with the specified value was found; otherwise, false.

Implements

M:Windows.Foundation.Collections.IVector1.IndexOf(0,System.UInt32@) M:Windows.Foundation.Collections.IVector1.IndexOf(0,unsigned int@) M:Windows.Foundation.Collections.IVector1.IndexOf(0,uint32_t@)

Applies to