Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the application data folder path that Visual Studio uses to store various files.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: 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: System.UInt32
[in] The name of the folder containing application data.
- folderPath
Type: System.String%
[out] Complete path to the folder.
Return Value
Type: System.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.