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)
Syntax
'Declaration
Function GetEnabledExtensionContentLocations ( _
contentTypeName As String _
) As IEnumerable(Of String)
IEnumerable<string> GetEnabledExtensionContentLocations(
string contentTypeName
)
IEnumerable<String^>^ GetEnabledExtensionContentLocations(
String^ contentTypeName
)
abstract GetEnabledExtensionContentLocations :
contentTypeName:string -> IEnumerable<string>
function GetEnabledExtensionContentLocations(
contentTypeName : String
) : IEnumerable<String>
Parameters
contentTypeName
Type: System.StringThe 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.
Remarks
Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.
.NET Framework Security
- 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.