FileStreamOptions.Share 屬性

定義

列舉值的位元組合,其決定流程如何共用檔案。 預設值是 Read

public:
 property System::IO::FileShare Share { System::IO::FileShare get(); void set(System::IO::FileShare value); };
public System.IO.FileShare Share { get; set; }
member this.Share : System.IO.FileShare with get, set
Public Property Share As FileShare

屬性值

列舉旗標的 FileShare 位元組合。

例外狀況

當包含無效的值時 value

適用於