共用方式為


IInstalledExtension Interface

Provides access to the root Install directory of an installed extension.

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

Syntax

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

The IInstalledExtension 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 InstalledOn The time when the extension was installed.
Public property InstalledPerMachine Specifies whether the extension is installed on a per-machine basis.
Public property InstallPath The root Install directory of the extension.
Public property References A collection of the dependencies of an extension. (Inherited from IExtension.)
Public property SchemaVersion (Inherited from IExtension.)
Public property SizeInBytes The size of the InstallPath directory of the extension.
Public property State The current state of the installed 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.

See Also

Reference

Microsoft.VisualStudio.ExtensionManager Namespace