IVsExtensionManager.GetEnabledExtensions Method (String)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Queries for all enabled extensions that contain a particular content type, for example, ItemTemplates or MEFComponents.
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
IEnumerable<IInstalledExtension> GetEnabledExtensions( string contentTypeName )
- Type: System.String
The content type to filter the search by.
Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.
The valid values for contentTypeName correspond to the children of the Content element.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.