IndexHelper.SearchIndex<T> Method |
Note: This API is now obsolete.
Searches an Index using the given Comparer.
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax[ObsoleteAttribute("This helper pertains to obsoleted code and will be removed in future releases",
true)]
public static IEnumerable<T> SearchIndex<T>(
this List<T> index,
IComparer<T> comparer,
T search
)
<ExtensionAttribute>
<ObsoleteAttribute("This helper pertains to obsoleted code and will be removed in future releases",
true)>
Public Shared Function SearchIndex(Of T) (
index As List(Of T),
comparer As IComparer(Of T),
search As T
) As IEnumerable(Of T)
Parameters
- index
- Type: System.Collections.Generic.List<T>
Index. - comparer
- Type: System.Collections.Generic.IComparer<T>
Comparer to use for binary search. - search
- Type: T
Item to search for.
Type Parameters
- T
- Indexed Object Type.
Return Value
Type:
IEnumerable<T>[Missing <returns> documentation for "M:VDS.RDF.IndexHelper.SearchIndex``1(System.Collections.Generic.List{``0},System.Collections.Generic.IComparer{``0},``0)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
List<T>. 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