DeviceInformationCollection.IndexOf(DeviceInformation, 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.
Returns the index of the specified DeviceInformation object in the collection.
public:
virtual bool IndexOf(DeviceInformation ^ value, [Out] unsigned int & index) = IVectorView<DeviceInformation ^>::IndexOf;
bool IndexOf(DeviceInformation const& value, [Out] uint32_t & index);
public bool IndexOf(DeviceInformation value, out uint index);
Public Function IndexOf (value As DeviceInformation, ByRef index As UInteger) As Boolean
Parameters
- value
- DeviceInformation
The DeviceInformation object in the collection.
- index
-
UInt32
unsigned int
uint32_t
The index.
Returns
Boolean
bool
true if the method succeeded; otherwise, false.
Implements
M:Windows.Foundation.Collections.IVectorView
1.IndexOf(
0,System.UInt32@)
M:Windows.Foundation.Collections.IVectorView1.IndexOf(
0,unsigned int@)
M:Windows.Foundation.Collections.IVectorView1.IndexOf(
0,uint32_t@)
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro