SpecialDirectories.AllUsersApplicationData Property

Definition

Gets a path name pointing to the Application Data directory for the all users.

public:
 static property System::String ^ AllUsersApplicationData { System::String ^ get(); };
public static string AllUsersApplicationData { get; }
static member AllUsersApplicationData : string
Public Shared ReadOnly Property AllUsersApplicationData As String

Property Value

The path to the Application Data directory for the all users.

Exceptions

Controls access to system and user environment variables. Associated enumeration: Unrestricted.

The path is empty, usually because the operating system does not support the directory.

Examples

This example displays the path to the Application Data directory for the all users in a MessageBox.

MsgBox(
  My.Computer.FileSystem.SpecialDirectories.AllUsersApplicationData)

Remarks

The SpecialDirectories object contains paths to commonly referenced directories.

Applies to

See also