Partager via


IExtension Interface

Contains the metadata from a VSIX manifest.

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

Syntax

'Déclaration
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 Content The content in an extension.
Public property Header Contains the metadata in the 'Identifier' node of an extension.
Public property References A collection of the dependencies of an extension.
Public property SchemaVersion
Public property Type

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 Visual Studio Extension Deployment.

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

See Also

Reference

Microsoft.VisualStudio.ExtensionManager Namespace