Document.ReadOnlyRecommended Property (2007 System)
Gets or sets a value that indicates whether Microsoft Office Word displays a message whenever a user opens the document, suggesting that the document be opened as read-only.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public Property ReadOnlyRecommended As Boolean
'Usage
Dim instance As Document
Dim value As Boolean
value = instance.ReadOnlyRecommended
instance.ReadOnlyRecommended = value
[BrowsableAttribute(false)]
public bool ReadOnlyRecommended { get; set; }
[BrowsableAttribute(false)]
public:
property bool ReadOnlyRecommended {
bool get ();
void set (bool value);
}
public function get ReadOnlyRecommended () : boolean
public function set ReadOnlyRecommended (value : boolean)
Property Value
Type: System.Boolean
true if Word displays a message box whenever a user opens the document, suggesting that the document be opened as read-only; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.