FileExtensionVector.IndexOf(String, UInt32) メソッド

定義

コレクション内の指定したファイル名拡張子のインデックスを取得します。

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

パラメーター

value
String

Platform::String

winrt::hstring

コレクション内で検索するファイル名拡張子。

index
UInt32

unsigned int

uint32_t

ファイル名拡張子が見つかった場合は、0 から始まるインデックス。 ファイル名拡張子が見つからない場合、このパラメーターは 0 に設定されます。

戻り値

Boolean

bool

True を指定すると、ファイル名拡張子が見つかります。それ以外の場合は FALSE。

実装

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@)

適用対象