Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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)
'Usage
Dim instance As IComponentModel
Dim returnValue As IEnumerable(Of T)
returnValue = instance.GetExtensions()
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.