ApplicationDeployment.DataDirectory 属性

定义

获取 ClickOnce 数据目录的路径。Gets the path to the ClickOnce data directory.

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

属性值

String

一个字符串,它包含应用程序的数据目录在本地磁盘上的路径。A string containing the path to the application's data directory on the local disk.

适用于