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
'宣告
<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
)
Parameters
- folder
Type: Microsoft.VisualStudio.Settings.ApplicationDataFolder
The 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.