Dela via


ExtensionPointPackage.IVsPackageExtensionProvider.CreateExtensionInstance Method

Creates an instance of the requested extension.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
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
)
private:
virtual Object^ CreateExtensionInstance(
    Guid% extensionPoint, 
    Guid% instance
) sealed = IVsPackageExtensionProvider::CreateExtensionInstance
private abstract CreateExtensionInstance : 
        extensionPoint:Guid byref * 
        instance:Guid byref -> Object  
private override CreateExtensionInstance : 
        extensionPoint:Guid byref * 
        instance:Guid byref -> Object
JScript does not support explicit interface implementations.

Parameters

  • extensionPoint
    Type: Guid%

    Type of extension point.

  • instance
    Type: Guid%

    Instance identifier of the requested extension point.

Return Value

Type: Object
The requested extension point instance.

Implements

IVsPackageExtensionProvider.CreateExtensionInstance(Guid%, Guid%)

.NET Framework Security

See Also

Reference

ExtensionPointPackage Class

Microsoft.VisualStudio.Shell Namespace