FileIOPermissionAttribute.ViewAndModify 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定可檢視及修改檔案資料的檔案或目錄。
public:
property System::String ^ ViewAndModify { System::String ^ get(); void set(System::String ^ value); };
public string ViewAndModify { get; set; }
member this.ViewAndModify : string with get, set
Public Property ViewAndModify As String
屬性值
檔案或目錄的絕對路徑,可檢視與修改檔案資料。
例外狀況
get這個存取器稱為。 該存取器僅提供給 C# 編譯器的相容性。
備註
此屬性為單一檔案或目錄設定 Append、 PathDiscovery、 ReadWrite 及屬性。 使用額外 FileIOPermissionAttribute 屬性來指定額外的檔案和目錄。 存取權限僅限於檔案資料;它們不包含存取控制屬性 ViewAccessControl 和 ChangeAccessControl。
Note
get此存取器是為了 C# 編譯器的相容性而提供。 C# 編譯器需要屬性屬性來讀寫。