DnssdServiceInstanceCollection.IndexOf(DnssdServiceInstance, 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 a value indicating whether a given DnssdServiceInstance is at the specified index in this 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 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
Parameters
- value
- DnssdServiceInstance
The DnssdServiceInstance to get the index of.
- index
-
UInt32
unsigned int
uint32_t
The index, if the DnssdServiceInstance is found.
Returns
bool
true if value is found at index, false otherwise.
Implements
1.IndexOf(
0,System.UInt32@)
M:Windows.Foundation.Collections.IVectorView1.IndexOf(
0,unsigned int@)
M:Windows.Foundation.Collections.IVectorView1.IndexOf(
0,uint32_t@)