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.
Loads, if necessary, the specified package and creates an instance of the given type of extension point using IVsPackageExtensionProvider.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Syntax
'Declaration
Function CreatePackageExtension ( _
ByRef Package As Guid, _
ByRef extensionPoint As Guid, _
ByRef instance As Guid _
) As Object
Object CreatePackageExtension(
ref Guid Package,
ref Guid extensionPoint,
ref Guid instance
)
Object^ CreatePackageExtension(
[InAttribute] Guid% Package,
[InAttribute] Guid% extensionPoint,
[InAttribute] Guid% instance
)
abstract CreatePackageExtension :
Package:Guid byref *
extensionPoint:Guid byref *
instance:Guid byref -> Object
function CreatePackageExtension(
Package : Guid,
extensionPoint : Guid,
instance : Guid
) : Object
Parameters
Package
Type: Guid%[in] Package containing the desired extension.
extensionPoint
Type: Guid%[in] The type of extension point.
instance
Type: Guid%[in] The instance identifier of the requested extension point.
Return Value
Type: Object
The requested extension point instance.
.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.