Share via


DnssdServiceInstanceCollection.GetMany(UInt32, DnssdServiceInstance[]) Method

Definition

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

UInt32

unsigned int

uint32_t

The number of items in items.

Implements

M:Windows.Foundation.Collections.IVectorView1.GetMany(System.UInt32,0[]) M:Windows.Foundation.Collections.IVectorView1.GetMany(unsigned int,0[]) M:Windows.Foundation.Collections.IVectorView1.GetMany(uint32_t,0[])

Applies to