A typed specialization of the ToIndexed<(Of <<'(T>)>>)(IBindingList) method.

Namespace:  C1.LiveLinq
Assembly:  C1.LiveLinq (in C1.LiveLinq.dll)

Syntax

C#
public static IndexedCollection<T> ToIndexed<T>(
	this BindingList<T> source
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function ToIndexed(Of T) ( _
	source As BindingList(Of T) _
) As IndexedCollection(Of T)

Parameters

source
Type: System.ComponentModel..::..BindingList<(Of <(<'T>)>)>
A BindingList<(Of <(<'T>)>)> data source to represent as an IndexedCollection<(Of <(<'T>)>)>.

Type Parameters

T
The type of the elements in the collection.

Return Value

An IIndexedSource<(Of <(<'T>)>)> that contains the same elements as the BindingList<(Of <(<'T>)>)> and enables indexing of that data source.

See Also