Dela via


DnssdServiceInstanceCollection.GetAt(UInt32) Method

Definition

Gets the DnssdServiceInstance at a given index into the DnssdServiceInstanceCollection.

Note

DnssdServiceInstanceCollection is not supported and may be altered or unavailable in the future. Instead, use the Windows.Devices.Enumeration API.

public:
 virtual DnssdServiceInstance ^ GetAt(unsigned int index) = IVectorView<DnssdServiceInstance ^>::GetAt;
DnssdServiceInstance GetAt(uint32_t const& index);
public DnssdServiceInstance GetAt(uint index);
function getAt(index)
Public Function GetAt (index As UInteger) As DnssdServiceInstance

Parameters

index
UInt32

unsigned int

uint32_t

The index of the instance to be retrieved. Indices are 0-based. If your code specifies an index that is out of bounds, an exception is thrown. The maximum valid index is equal to one less than the DnssdServiceInstanceCollection.Size value.

Returns

The DnssdServiceInstance at the given index in the collection.

Implements

M:Windows.Foundation.Collections.IVectorView`1.GetAt(System.UInt32) M:Windows.Foundation.Collections.IVectorView`1.GetAt(unsigned int) M:Windows.Foundation.Collections.IVectorView`1.GetAt(uint32_t)

Applies to