FileDialog.CheckPathExists 属性

定义

获取或设置一个值,该值指定如果用户键入无效的路径和文件名,是否显示警告。

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

属性值

如果显示警告,则为 true;否则为 false。 默认值为 true

属性

适用于