SpecialDirectories.AllUsersApplicationData Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.