'Declaration
<ExtensionAttribute()> Public Overloads Shared Function ToCollectionView(Of T As Class)( _ ByVal source As IEnumerable _ ) As ICollectionView(Of T)
'Usage
Dim source As IEnumerable Dim value As ICollectionView(Of T) value = ICollectionViewEx.ToCollectionView(Of T)(source)
[Extension()] public static ICollectionView<T> ToCollectionView<T>( IEnumerable source ) where T: class
Parameters
- source
- The source of the collection view.
Type Parameters
- T
- The type of the collection view.