語言

FileIOPermissionAttribute.Read 屬性

定義

取得或設定由字串值指定的檔案或目錄的讀取權限。

public:
 property System::String ^ Read { System::String ^ get(); void set(System::String ^ value); };
public string Read { get; set; }
member this.Read : string with get, set
Public Property Read As String

屬性值

檔案或目錄的絕對路徑,用於讀取存取。

備註

此特性設定單一檔案或目錄的存取權限。 使用額外屬性來指定額外的檔案和目錄。

適用於