Package.UserDataPath Property

Definition

Gets the path to user data storage for Visual Studio.

public:
 property System::String ^ UserDataPath { System::String ^ get(); };
public:
 property Platform::String ^ UserDataPath { Platform::String ^ get(); };
public string UserDataPath { get; }
member this.UserDataPath : string
Public ReadOnly Property UserDataPath As String

Property Value

The path to user data storage.

Remarks

The UserDataPath property returns a path that can be used to store program state for the current user. This path is typically located at:

%USERPROFILE%\Application Data\Microsoft\Visual Studio\<version>, but this can change based on any alternate root that the shell was initialized with.

Applies to