Package.UserLocalDataPath Property
Gets the path to local user data storage for Visual Studio.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public ReadOnly Property UserLocalDataPath As String
public string UserLocalDataPath { get; }
Property Value
Type: System.String
The path to local user data storage.
Remarks
This property returns the path to user data storage for Visual Studio. Typically this is %USERPROFILE%\Local Settings\Application Data\Visual Studio\<version>, but this can change based on any alternate root that the shell was initialized with.
.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.