IComponentModel.GetExtensions<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an enumeration of "extensions" from the default composition container, i.e. objects of which there can multiple instances exist in a given composition container. Equals to calling GetExportedValues<T>() directly.
public:
generic <typename T>
where T : class System::Collections::Generic::IEnumerable<T> ^ GetExtensions();
public System.Collections.Generic.IEnumerable<T> GetExtensions<T> () where T : class;
abstract member GetExtensions : unit -> seq<'T (requires 'T : null)> (requires 'T : null)
Public Function GetExtensions(Of T As Class) () As IEnumerable(Of T)
Type Parameters
- T
The type of the object to get.
Returns
IEnumerable<T>
The instance(s) of the requested object(s).