NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

OpenFileDialog.ReadOnlyChecked

Gets or sets a value indicating whether the read-only check box is selected.

[Visual Basic]
Public Property ReadOnlyChecked As Boolean
[C#]
public bool ReadOnlyChecked {get; set;}
[C++]
public: __property bool get_ReadOnlyChecked();
public: __property void set_ReadOnlyChecked(bool);
[JScript]
public function get ReadOnlyChecked() : Boolean;
public function set ReadOnlyChecked(Boolean);

Property Value

true if the read-only check box is selected; otherwise, false. The default value is false.

Remarks

ShowReadOnly must be invoked before this method in order for the read-only check box to appear in the dialog box.

See Also

OpenFileDialog Class | OpenFileDialog Members | System.WinForms Namespace | ShowReadOnly