Partager via


SettingsManager.GetApplicationDataFolder Method

Returns the folder that Visual Studio uses for storing various files such as cache files, backup files, and template files.

Namespace:  Microsoft.VisualStudio.Settings
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

'Declaration
Public MustOverride Function GetApplicationDataFolder ( _
    folder As ApplicationDataFolder _
) As String
public abstract string GetApplicationDataFolder(
    ApplicationDataFolder folder
)
public:
virtual String^ GetApplicationDataFolder(
    ApplicationDataFolder folder
) abstract
abstract GetApplicationDataFolder : 
        folder:ApplicationDataFolder -> string
public abstract function GetApplicationDataFolder(
    folder : ApplicationDataFolder
) : String

Parameters

Return Value

Type: String
The full path of the requested folder.

.NET Framework Security

See Also

Reference

SettingsManager Class

Microsoft.VisualStudio.Settings Namespace