Dela via


ResourceCandidateVectorView.IndexOf(ResourceCandidate, UInt32) Method

Definition

Gets the index of a specified ResourceCandidate in the set.

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

Parameters

value
ResourceCandidate

The ResourceCandidate to find in the set.

index
UInt32

unsigned int

uint32_t

The zero-based index of the ResourceCandidate, if the item is found; zero if the item is not found.

Returns

Boolean

bool

true if the ResourceCandidate is found; otherwise, false if the item is not found.

Implements

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

Applies to