 | ObjectExtensionsIntervalT Method (T, T) |
Returns the index of the value that is less than obj.
Namespace:
SphinxConnector.FluentApi.Util
Assembly:
SphinxConnector (in SphinxConnector.dll) Version: 5.4.1
Syntaxpublic static int Interval<T>(
this T obj,
params T[] values
)
<ExtensionAttribute>
Public Shared Function Interval(Of T) (
obj As T,
ParamArray values As T()
) As Integer
Parameters
- obj
- Type: T
The value to check. - values
- Type: T
The values defining the interval.
Type Parameters
- T
- The type of obj and values.
Return Value
Type:
Int32The index of the value that is less than
obj.
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