DnssdServiceInstanceCollection.GetAt(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.