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

定義

セット内の指定した ResourceContext 言語修飾子のインデックスを返します。

public:
 virtual bool IndexOf(Platform::String ^ value, [Out] unsigned int & index) = IVectorView<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

セット内で検索する ResourceContext 言語修飾子。

index
UInt32

unsigned int

uint32_t

項目が見つかった場合は、 ResourceContext 言語修飾子の 0 から始まるインデックス。 アイテムが見つからない場合、メソッドは 0 を返します。

戻り値

Boolean

bool

ResourceContext 言語修飾子が見つかった場合は TRUEブール値。それ以外の場合は FALSE

実装

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

適用対象