Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets an enumeration of extensions from the default composition container
Namespace: Microsoft.VisualStudio.ComponentModelHost
Assembly: Microsoft.VisualStudio.ComponentModelHost (in Microsoft.VisualStudio.ComponentModelHost.dll)
Syntax
'Declaration
Function GetExtensions(Of T As Class) As IEnumerable(Of T)
IEnumerable<T> GetExtensions<T>()
where T : class
generic<typename T>
where T : ref class
IEnumerable<T>^ GetExtensions()
abstract GetExtensions : unit -> IEnumerable<'T> when 'T : not struct
JScript does not support generic types or methods.
Type Parameters
- T
The type of the extension.
Return Value
Type: System.Collections.Generic.IEnumerable<T>
A list of extensions.
Remarks
There can be multiple instances of an extension in a given composition container. Calling this method is the same as calling GetExportedValue.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.