Export (0) Print
Expand All

Application.LocalUserAppDataPath Property

Gets the path for the application data of a local, non-roaming user.

[Visual Basic]
Public Shared ReadOnly Property LocalUserAppDataPath As String
[C#]
public static string LocalUserAppDataPath {get;}
[C++]
public: __property static String* get_LocalUserAppDataPath();
[JScript]
public static function get LocalUserAppDataPath() : String;

Property Value

The path for the application data of a local, non-roaming user.

Remarks

A local user is one whose user profile is stored on the system on which the user logged on. If a path does not exist, one is created in the following format:

Base Path\ CompanyName\ ProductName\ ProductVersion

A typical Base Path, as identified in the path above, is C:\Documents and Settings\ username\Local Settings\Application Data.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Application Class | Application Members | System.Windows.Forms Namespace

Show:
© 2014 Microsoft