| ListExtensionsContainsT Method |
Check if an array contains a value
Namespace:
ImmerseSDK.Extensions
Assembly:
ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax public static bool Contains<T>(
this T[] array,
T obj
)
Parameters
- array
- Type: T
Array to search - obj
- Type: T
Object to search for
Type Parameters
- T
- Type of List
Return Value
Type:
BooleanReturns true if the array contains the Object
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