共用方式為


IInstallableExtension Interface

Contains path and signature information for a VSIX package. The information may be used for installing an extension.

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

Syntax

'宣告
Public Interface IInstallableExtension _
    Inherits IExtension
public interface IInstallableExtension : IExtension
public interface class IInstallableExtension : IExtension
type IInstallableExtension =  
    interface
        interface IExtension
    end
public interface IInstallableExtension extends IExtension

The IInstallableExtension type exposes the following members.

Properties

  Name Description
Public property Content The content in an extension. (Inherited from IExtension.)
Public property Header Contains the metadata in the 'Identifier' node of an extension. (Inherited from IExtension.)
Public property PackagePath The path of a VSIX package file.
Public property References A collection of the dependencies of an extension. (Inherited from IExtension.)
Public property SchemaVersion (Inherited from IExtension.)
Public property SignatureCertificate The certificate that is used to sign the extension.
Public property SignatureState Denotes the presence and validity of the digital signature of the extension.
Public property SignedBy The entity that signed the extension.
Public property Type (Inherited from IExtension.)

Top

Remarks

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

IInstallableExtension inherits from IExtension, which contains the metadata from the VSIX manifest for the package. Therefore, a fully populated IInstallabelExtension object includes all the information that is required to install the extension.

For more information about extension deployment in Visual Studio 2010, see Visual Studio Extension Deployment.

See Also

Reference

Microsoft.VisualStudio.ExtensionManager Namespace