IVsPackageExtensionProvider.CreateExtensionInstance Method
Creates an instance of the requested extension.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.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: 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.