ShellSettingsManager.GetApplicationDataFolder Method
Returns the folder that Visual Studio uses for storing various cache, backup, template, etc. files
Namespace: Microsoft.VisualStudio.Shell.Settings
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
声明
Public Overrides Function GetApplicationDataFolder ( _
folder As ApplicationDataFolder _
) As String
用法
Dim instance As ShellSettingsManager
Dim folder As ApplicationDataFolder
Dim returnValue As String
returnValue = instance.GetApplicationDataFolder(folder)
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
- folder
Type: Microsoft.VisualStudio.Settings.ApplicationDataFolder
Requested folder.
Return Value
Type: System.String
.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.