Partager via


Package.UserLocalDataPath Property

Gets the path to local user data storage for Visual Studio.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Public ReadOnly Property UserLocalDataPath As String
    Get
'Utilisation
Dim instance As Package
Dim value As String

value = instance.UserLocalDataPath
public string UserLocalDataPath { get; }
public:
property String^ UserLocalDataPath {
    String^ get ();
}
member UserLocalDataPath : string
function get UserLocalDataPath () : String

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

See Also

Reference

Package Class

Package Members

Microsoft.VisualStudio.Shell Namespace