Share via


IVsSettingsManager.GetCommonExtensionsSearchPaths Method

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)

Syntax

'Declaration
Function GetCommonExtensionsSearchPaths ( _
    paths As UInteger, _
    <OutAttribute> commonExtensionsPaths As String(), _
    <OutAttribute> ByRef actualPaths As UInteger _
) As Integer
int GetCommonExtensionsSearchPaths(
    uint paths,
    string[] commonExtensionsPaths,
    out uint actualPaths
)
int GetCommonExtensionsSearchPaths(
    [InAttribute] unsigned int paths, 
    [OutAttribute] array<String^>^ commonExtensionsPaths, 
    [OutAttribute] unsigned int% actualPaths
)
abstract GetCommonExtensionsSearchPaths : 
        paths:uint32 * 
        commonExtensionsPaths:string[] byref * 
        actualPaths:uint32 byref -> int 
function GetCommonExtensionsSearchPaths(
    paths : uint, 
    commonExtensionsPaths : String[], 
    actualPaths : uint
) : int

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.

.NET Framework Security

See Also

Reference

IVsSettingsManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace