次の方法で共有


IVsExtensionManager.CreateInstallableExtension Method

Factory method for extensions that are installable.

Namespace:  Microsoft.VisualStudio.ExtensionManager
Assembly:  Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)

Syntax

'宣言
Function CreateInstallableExtension ( _
    extensionPath As String _
) As IInstallableExtension
IInstallableExtension CreateInstallableExtension(
    string extensionPath
)
IInstallableExtension^ CreateInstallableExtension(
    String^ extensionPath
)
abstract CreateInstallableExtension : 
        extensionPath:string -> IInstallableExtension 
function CreateInstallableExtension(
    extensionPath : String
) : IInstallableExtension

Parameters

Return Value

Type: Microsoft.VisualStudio.ExtensionManager.IInstallableExtension
An IInstalledExtension object that may be passed to the Install API.

Remarks

Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.

This method should call CreateExtension to get VSIX metadata.

.NET Framework Security

See Also

Reference

IVsExtensionManager Interface

Microsoft.VisualStudio.ExtensionManager Namespace