すべてのユーザーが共有するアプリケーション データのパスを取得します。
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;
プロパティ値
すべてのユーザーが共有するアプリケーション データのパス。
解説
パスが存在しない場合は、次の形式で作成されます。
ベース パス\ CompanyName\ ProductName\ ProductVersion
通常のベース パスは、上記のパスとは異なり、C:\Documents and Settings\All Users\Application Data となります。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
Application クラス | Application メンバ | System.Windows.Forms 名前空間 | CommonAppDataRegistry