FileDialog.ValidateNames Property


Gets or sets a value indicating whether the dialog accepts only valid Win32 file names.

Namespace:   Microsoft.Win32
Assembly:  PresentationFramework (in PresentationFramework.dll)

Public Property ValidateNames As Boolean

Property Value

Type: System.Boolean

true if warnings will be shown when an invalid file name is provided; otherwise, false. The default is false.


to set the validation behavior. Associated enumeration: Unrestricted

.NET Framework
Available since 3.0
Return to top