Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetEnabledExtensionContentLocations Method (String)

IVsExtensionManager.GetEnabledExtensionContentLocations Method (String)

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

Queries for a collection of the paths of all content of a particular type that is included in enabled extensions.

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

IEnumerable<string> GetEnabledExtensionContentLocations(
	string contentTypeName


Type: System.String

The content type to filter the search by.

Return Value

Type: System.Collections.Generic.IEnumerable<String>
A collection of paths of extensions where contentTypeName corresponds to a child of the Content element of the VSIX manifest for the extension.

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

Community Additions

© 2015 Microsoft