IVsSettingsManager.GetApplicationDataFolder Method
Returns the application data folder path that Visual Studio uses to store various files.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function GetApplicationDataFolder ( _
folder As UInteger, _
<OutAttribute> ByRef folderPath As String _
) As Integer
int GetApplicationDataFolder(
uint folder,
out string folderPath
)
int GetApplicationDataFolder(
[InAttribute] unsigned int folder,
[OutAttribute] String^% folderPath
)
abstract GetApplicationDataFolder :
folder:uint32 *
folderPath:string byref -> int
function GetApplicationDataFolder(
folder : uint,
folderPath : String
) : int
Parameters
folder
Type: UInt32[in] The name of the folder containing application data.
folderPath
Type: String%[out] Complete path to the folder.
Return Value
Type: Int32
Returns S_OK if the folder path was found.
.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.