IVsSettingsManager::GetCommonExtensionsSearchPaths Method (UInt32, array<String^>^, UInt32)

 

Returns a list of common extension search paths. Native code callers should call this method first with paths = 0 and commonExtensionsPaths = null to get the number of paths in the list and allocate a corresponding array, then call it again to get the actual list of paths.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

int GetCommonExtensionsSearchPaths(
	unsigned int paths,
	array<String^>^ commonExtensionsPaths,
	[OutAttribute] unsigned int% actualPaths
)

Parameters

paths
Type: System::UInt32

[in] The size of the array in commonExtensionsPaths.

commonExtensionsPaths
Type: array<System::String^>^

[out] An array of strings containing the extension search paths

actualPaths
Type: System::UInt32

[out] The number of paths returned in commonExtensionsPaths.

Return Value

Type: System::Int32

Returns S_OK if the paths were returned.

Return to top
Show: