TriggerActionCollection.IndexOf(TriggerAction, 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.
Retrieves the index of the specified item.
public:
virtual bool IndexOf(TriggerAction ^ value, [Out] unsigned int & index) = IVector<TriggerAction ^>::IndexOf;
bool IndexOf(TriggerAction const& value, [Out] uint32_t & index);
public bool IndexOf(TriggerAction value, out uint index);
Public Function IndexOf (value As TriggerAction, ByRef index As UInteger) As Boolean
Parameters
- value
- TriggerAction
The value to find in the collection.
- index
-
UInt32
unsigned int
uint32_t
The index of the item to find, if found.
Returns
Boolean
bool
true if an item with the specified value was found; otherwise, false.
Implements
M:Windows.Foundation.Collections.IVector
1.IndexOf(
0,System.UInt32@)
M:Windows.Foundation.Collections.IVector1.IndexOf(
0,unsigned int@)
M:Windows.Foundation.Collections.IVector1.IndexOf(
0,uint32_t@)
Remarks
Note
The equivalent Microsoft .NET API is IndexOf.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor