Share via


ExternalSettingsManager.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.Settings.11.0 (in Microsoft.VisualStudio.Settings.11.0.dll)
  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

'Declaration
<EnvironmentPermissionAttribute(SecurityAction.LinkDemand, Unrestricted := True)> _
Public Overrides NotOverridable Function GetApplicationDataFolder ( _
    folder As ApplicationDataFolder _
) As String
[EnvironmentPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)]
public override sealed string GetApplicationDataFolder(
    ApplicationDataFolder folder
)
[EnvironmentPermissionAttribute(SecurityAction::LinkDemand, Unrestricted = true)]
public:
virtual String^ GetApplicationDataFolder(
    ApplicationDataFolder folder
) override sealed
[<EnvironmentPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)>]
abstract GetApplicationDataFolder : 
        folder:ApplicationDataFolder -> string 
[<EnvironmentPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)>]
override GetApplicationDataFolder : 
        folder:ApplicationDataFolder -> string
public override final function GetApplicationDataFolder(
    folder : ApplicationDataFolder
) : String

Parameters

Return Value

Type: System.String
The full path of the requested folder.

.NET Framework Security

See Also

Reference

ExternalSettingsManager Class

Microsoft.VisualStudio.Settings Namespace