CheckValidNames Property

Vista Bridge Library

[This is preliminary documentation and is subject to change.]

Gets or sets a value that controls validation of file names.

Namespace:  Microsoft.SDK.Samples.VistaBridge.Library
Assembly:  VistaBridgeLibrary (in VistaBridgeLibrary.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public bool CheckValidNames { get; set; }
Visual Basic (Declaration)
Public Property CheckValidNames As Boolean
Visual C++
public:
property bool CheckValidNames {
	bool get ();
	void set (bool value);
}

Field Value

A Boolean value. See remarks.

Remarks

Specify True to check for situations that would prevent an application from opening the selected file, such as sharing violations or access denied errors.

Exceptions

ExceptionCondition
System..::.InvalidOperationExceptionThis property cannot be set when the dialog is visible.

See Also