Share via


IVsSettingsManager.GetApplicationDataFolder Method

Returns the application data folder path that Visual Studio uses to store various files.

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

Syntax

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

Parameters

  • folder
    Type: System.UInt32

    [in] The name of the folder containing application data.

  • folderPath
    Type: System.String%

    [out] Complete path to the folder.

Return Value

Type: System.Int32
Returns S_OK if the folder path was found.

.NET Framework Security

See Also

Reference

IVsSettingsManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace