共用方式為


IVsShell5.CreatePackageExtension(Guid, Guid, Guid) Method

Definition

Loads, if necessary, the specified package and creates an instance of the given type of extension point using IVsPackageExtensionProvider.

public:
 System::Object ^ CreatePackageExtension(Guid % Package, Guid % extensionPoint, Guid % instance);
public object CreatePackageExtension (ref Guid Package, ref Guid extensionPoint, ref Guid instance);
abstract member CreatePackageExtension : Guid * Guid * Guid -> obj
Public Function CreatePackageExtension (ByRef Package As Guid, ByRef extensionPoint As Guid, ByRef instance As Guid) As Object

Parameters

Package
Guid

[in] Package containing the desired extension.

extensionPoint
Guid

[in] The type of extension point.

instance
Guid

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

Returns

The requested extension point instance.

Applies to