Udostępnij za pośrednictwem


ResourceQualifierVectorView.IndexOf(ResourceQualifier, UInt32) Method

Definition

Returns the index of a specified ResourceQualifier in the view.

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

Parameters

value
ResourceQualifier

The ResourceQualifier to find in the set.

index
UInt32

unsigned int

uint32_t

The zero-based index of the object, if found. The method returns zero if the object is not found.

Returns

Boolean

bool

true if the object is found; otherwise, false if the object 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