We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

IExtension Interface

Contains the metadata from a VSIX manifest.

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

public interface IExtension

The IExtension type exposes the following members.

Public propertyContentThe content in an extension.
Public propertyHeaderContains the metadata in the 'Identifier' node of an extension.
Public propertyReferencesA collection of the dependencies of an extension.
Public propertySchemaVersion
Public propertyType

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.