DnssdServiceInstanceCollection.GetMany(UInt32, DnssdServiceInstance[]) 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 multiple DnssdServiceInstance objects from a DNS-SD service instance collection.
Note
DnssdServiceInstanceCollection is not supported and may be altered or unavailable in the future. Instead, use the Windows.Devices.Enumeration API.
public:
virtual unsigned int GetMany(unsigned int startIndex, Platform::Array <DnssdServiceInstance ^> ^ items) = IVectorView<DnssdServiceInstance ^>::GetMany;
uint32_t GetMany(uint32_t const& startIndex, winrt::array_view <DnssdServiceInstance const&> & items);
public uint GetMany(uint startIndex, DnssdServiceInstance[] items);
function getMany(startIndex, items)
Public Function GetMany (startIndex As UInteger, items As DnssdServiceInstance()) As UInteger
Parameters
- startIndex
-
UInt32
unsigned int
uint32_t
Index of the first collection item to be retrieved.
- items
- DnssdServiceInstance[]
The retrieved DnssdServiceInstance objects.
Returns
The number of items in items.
Implements
1.GetMany(System.UInt32,
0[])
M:Windows.Foundation.Collections.IVectorView1.GetMany(unsigned int,
0[])
M:Windows.Foundation.Collections.IVectorView1.GetMany(uint32_t,
0[])