IVsSettingsManager.GetCommonExtensionsSearchPaths Method

Definition

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.

public:
 int GetCommonExtensionsSearchPaths(System::UInt32 paths, cli::array <System::String ^> ^ commonExtensionsPaths, [Runtime::InteropServices::Out] System::UInt32 % actualPaths);
int GetCommonExtensionsSearchPaths(unsigned int paths, std::Array <std::wstring const &> const & commonExtensionsPaths, [Runtime::InteropServices::Out] unsigned int & actualPaths);
public int GetCommonExtensionsSearchPaths (uint paths, string[] commonExtensionsPaths, out uint actualPaths);
abstract member GetCommonExtensionsSearchPaths : uint32 * string[] * uint32 -> int
Public Function GetCommonExtensionsSearchPaths (paths As UInteger, commonExtensionsPaths As String(), ByRef actualPaths As UInteger) As Integer

Parameters

paths
UInt32

[in] The size of the array in commonExtensionsPaths.

commonExtensionsPaths
String[]

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

actualPaths
UInt32

[out] The number of paths returned in commonExtensionsPaths.

Returns

Returns S_OK if the paths were returned.

Remarks

This method is safe to access from any thread.

Applies to