語言

FileDialog.ValidateNames 屬性

定義

會取得或設定一個值,指示對話框是否只接受有效的 Win32 檔案名稱。

public:
 property bool ValidateNames { bool get(); void set(bool value); };
public bool ValidateNames { get; [System.Security.SecurityCritical] set; }
public bool ValidateNames { get; set; }
[<set: System.Security.SecurityCritical>]
member this.ValidateNames : bool with get, set
member this.ValidateNames : bool with get, set
Public Property ValidateNames As Boolean

屬性值

true若提供無效檔名時會顯示警告;否則,。 false 預設值為 true。

屬性

適用於