ExtensionPointPackage.IVsPackageExtensionProvider.CreateExtensionInstance Method
Creates an instance of the requested extension.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaração
Private Function CreateExtensionInstance ( _
ByRef extensionPoint As Guid, _
ByRef instance As Guid _
) As Object Implements IVsPackageExtensionProvider.CreateExtensionInstance
Object IVsPackageExtensionProvider.CreateExtensionInstance(
ref Guid extensionPoint,
ref Guid instance
)
Parameters
- extensionPoint
Type: System.Guid%
Type of extension point.
- instance
Type: System.Guid%
Instance identifier of the requested extension point.
Return Value
Type: System.Object
The requested extension point instance.
Implements
IVsPackageExtensionProvider.CreateExtensionInstance(Guid%, Guid%)
.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.