Share via


IComponentModel.GetExtensions<T> Method

Definition

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

The instance(s) of the requested object(s).

Applies to