แก้ไข

แชร์ผ่าน


SpecialDirectoriesProxy.AllUsersApplicationData Property

Definition

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

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Property Value

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

Exceptions

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