DnssdServiceInstanceCollection.IndexOf(DnssdServiceInstance, UInt32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定 された DnssdServiceInstance がこのサービス インスタンス コレクション内の指定したインデックスにあるかどうかを示す値を取得します。
Note
DnssdServiceInstanceCollection はサポートされていないため、今後変更または使用できない可能性があります。 代わりに、Windows.Devices.Enumeration API を使用します。
public:
virtual bool IndexOf(DnssdServiceInstance ^ value, [Out] unsigned int & index) = IVectorView<DnssdServiceInstance ^>::IndexOf;
bool IndexOf(DnssdServiceInstance const& value, [Out] uint32_t & index);
public bool IndexOf(DnssdServiceInstance value, out uint index);
Public Function IndexOf (value As DnssdServiceInstance, ByRef index As UInteger) As Boolean
パラメーター
- index
-
UInt32
unsigned int
uint32_t
DnssdServiceInstance が見つかった場合のインデックス。
戻り値
Boolean
bool
value がインデックスで見つかった場合は true、それ以外の場合は false。
実装
M:Windows.Foundation.Collections.IVectorView
1.IndexOf(
0,System.UInt32@)
M:Windows.Foundation.Collections.IVectorView1.IndexOf(
0,unsigned int@)
M:Windows.Foundation.Collections.IVectorView1.IndexOf(
0,uint32_t@)