Returns the index of the first item in the sequence matching a condition, or -1 if no match found.
Namespace: Breeze.Sharp.Core
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax
Parameters
- items
- Type: System.Collections.GenericIEnumerableT
- predicate
- Type: SystemFuncT, Boolean
Type Parameters
- T
Return Value
Type: Int32Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableT. 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