Condividi tramite


IExtension Interface

Contains the metadata from a VSIX manifest.

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

Syntax

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

For more information about the structure of VSIX manifest files, see VSX Schema for Extensions.

See Also

Reference

Microsoft.VisualStudio.ExtensionManager Namespace