共用方式為


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

Return Value

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

.NET Framework Security

See Also

Reference

ExternalSettingsManager Class

Microsoft.VisualStudio.Settings Namespace