|  | ObservableExtensionsObservableCastTTarget Method | 
            Returns an observable collection of objects of type TTarget that mirrors the source collection.
            
Namespace: TomsToolbox.ObservableCollectionsAssembly: TomsToolbox.ObservableCollections (in TomsToolbox.ObservableCollections.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
 Syntax
Syntaxpublic static IObservableCollection<TTarget> ObservableCast<TTarget>(
	this IEnumerable source
)
<ExtensionAttribute>
Public Shared Function ObservableCast(Of TTarget) ( 
	source As IEnumerable
) As IObservableCollection(Of TTarget)
Parameters
- source  IEnumerable
- The source collection.
Type Parameters
- TTarget
- The type of the target elements.
Return Value
IObservableCollectionTTargetThe observable collection of objects of type 
TTarget that mirrors the source collection.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type 
IEnumerable. 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).
 Remarks
Remarks See Also
See Also