Partager via


FilteredFileNameEditorAttribute.CheckFileExists Property

Gets or sets whether the Open File Dialog should only allow existing files to be selected.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)

Syntax

'Declaration
Public Property CheckFileExists As Boolean
public bool CheckFileExists { get; set; }
public:
property bool CheckFileExists {
    bool get ();
    void set (bool value);
}
public function get CheckFileExists () : boolean
public function set CheckFileExists (value : boolean)

Field Value

truetrue (True in Visual Basic) if the Open File Dialog is used to open existing files. Otherwise falsefalse (False in Visual Basic).

See Also

FilteredFileNameEditorAttribute Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design Namespace