Share via


IVsPackageExtensionProvider.CreateExtensionInstance Method

Creates an instance of the requested extension.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Function CreateExtensionInstance ( _
    ByRef extensionPoint As Guid, _
    ByRef instance As Guid _
) As Object
Object CreateExtensionInstance(
    ref Guid extensionPoint,
    ref Guid instance
)
Object^ CreateExtensionInstance(
    [InAttribute] Guid% extensionPoint, 
    [InAttribute] Guid% instance
)
abstract CreateExtensionInstance : 
        extensionPoint:Guid byref * 
        instance:Guid byref -> Object
function CreateExtensionInstance(
    extensionPoint : Guid, 
    instance : Guid
) : Object

Parameters

  • extensionPoint
    Type: System.Guid%

    [in] The type of extension point.

  • instance
    Type: System.Guid%

    [in] The instance identifier of the requested extension point.

Return Value

Type: System.Object
The requested extension point instance.

.NET Framework Security

See Also

Reference

IVsPackageExtensionProvider Interface

Microsoft.VisualStudio.Shell.Interop Namespace