JsonArray.IndexOf(IJsonValue, UInt32) メソッド

定義

JsonValue オブジェクトを検索し、JsonArray 内で最初に出現する 0 から始まるインデックスを返します。

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

パラメーター

value
IJsonValue

検索する IJsonValue

index
UInt32

unsigned int

uint32_t

見つかった場合は、 JsonArray 内で最初に出現する項目の 0 から始まるインデックス。それ以外の場合は -1。

戻り値

Boolean

bool

値が見つかったかどうかを示すブールを返します。

実装

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

適用対象