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
folder
Type: Microsoft.VisualStudio.Settings.ApplicationDataFolderThe requested folder.
Return Value
Type: System.String
The full path of the requested folder.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.