語言

FileDialog.Options 屬性

定義

取得 Win32 常見檔案對話框的旗標,這些標誌用於檔案對話框的初始化。

protected:
 property int Options { int get(); };
protected int Options { get; }
member this.Options : int
Protected ReadOnly Property Options As Integer

屬性值

Int32 A 包含 Win32 常見的檔案對話框旗標,這些旗標用於檔案對話框初始化。

備註

此值用於顯示包含當前屬性值的檔案對話框。 實際選項在特定對話框中以屬性形式公開,但此層級並未以公開旗標值形式文件,因此此屬性的用途主要在內部,用於實作衍生類別 OpenFileDialog 與 SaveFileDialog。

適用於