IVsExtensionManager.CreateInstallableExtension Method
Factory method for extensions that are installable.
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
Syntax
'Dichiarazione
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
- extensionPath
Type: System.String
Path of a VSIX package file.
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
- 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.