Condividi tramite


IExtension Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Contains the metadata from a VSIX manifest.

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

Syntax

'Declaration
Public Interface IExtension
public interface IExtension
public interface class IExtension
type IExtension =  interface end
public interface IExtension

The IExtension type exposes the following members.

Properties

  Name Description
Public property AdditionalElements
Public property Content The content in an extension.
Public property Header Contains the metadata in the 'Identifier' node of an extension.
Public property LocalizedAdditionalElements
Public property References A collection of the dependencies of an extension.
Public property SchemaVersion
Public property Targets
Public property Type

Top

Methods

  Name Description
Public method IsProductSupported

Top

Remarks

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

Typically, extensions are deployed in VSIX packages, each of which contains a VSIX manifest file to hold its metadata. For more information about extension deployment, see PAVE Visual Studio Extension Deployment.

For more information about the structure of VSIX manifest files, see VSIX Extension Schema 1.0 Reference.

See Also

Reference

Microsoft.VisualStudio.ExtensionManager Namespace