DnssdServiceInstanceCollection.IndexOf(DnssdServiceInstance, UInt32) 메서드

정의

지정된 DnssdServiceInstance가 이 서비스 instance 컬렉션의 지정된 인덱스에 있는지 여부를 나타내는 값을 가져옵니다.

참고

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

인덱스에서 발견되면 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@)

적용 대상