Click or drag to resize

IndexHelperSearchIndexT 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
)

Parameters

index
Type: System.Collections.GenericListT
Index.
comparer
Type: System.Collections.GenericIComparerT
Comparer to use for binary search.
search
Type: T
Item to search for.

Type Parameters

T
Indexed Object Type.

Return Value

Type: IEnumerableT

[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 ListT. 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