SortEntryVector.IndexOf(SortEntry, UInt32) 方法

定義

擷取集合中指定之排序專案的索引。

bool IndexOf(SortEntry const& value, [Out] uint32_t & index);
public bool IndexOf(SortEntry value, out uint index);
Public Function IndexOf (value As SortEntry, ByRef index As UInteger) As Boolean

參數

value
SortEntry

在集合中尋找的排序專案。

index
UInt32

uint32_t

如果找到排序專案,則為以零起始的索引。 如果找不到排序專案,此參數會設定為零。

傳回

Boolean

bool

如果找到排序專案,則為 True;否則為 false。

實作

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

適用於