共用方式為


ShellSettingsManager.GetApplicationDataFolder Method

Gets the folder that Visual Studio uses for storing various cache, backup, template, etc. files

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

Syntax

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

Parameters

Return Value

Type: String
The full path of the requested folder.

.NET Framework Security

See Also

Reference

ShellSettingsManager Class

Microsoft.VisualStudio.Shell.Settings Namespace