| ListExtensionsIndexOfT Method |
Gets the index of an entry in an array
Namespace:
ImmerseSDK.Extensions
Assembly:
ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax public static int IndexOf<T>(
this T[] array,
T entry
)
Parameters
- array
- Type: T
Array to search - entry
- Type: T
Entry to look for
Type Parameters
- T
- Type of array
Return Value
Type:
Int32Returns the index of the item in the array
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also