Dela via


AccessListEntryView.IndexOf(AccessListEntry, UInt32) Method

Definition

Retrieves the index of the specified storage item in the access list or most recently used (MRU) list.

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

Parameters

value
AccessListEntry

The storage item.

index
UInt32

unsigned int

uint32_t

The zero-based index of the storage item.

Returns

Boolean

bool

True if the specified storage item exists in the list; otherwise false.

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