Export (0) Print
Expand All

Application.CommonAppDataPath Property

Gets the path for the application data that is shared among all users.

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

Property Value

The path for the application data that is shared among all users.

Remarks

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\All Users\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 | CommonAppDataRegistry

Show:
© 2014 Microsoft