Share via


_Document.ReadOnlyRecommended Property

Determines if Word displays a message box whenever a user opens the document, suggesting that it be opened as read-only.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property ReadOnlyRecommended As Boolean
    Get
    Set
'Usage
Dim instance As _Document
Dim value As Boolean

value = instance.ReadOnlyRecommended

instance.ReadOnlyRecommended = value
bool ReadOnlyRecommended { get; set; }

Property Value

Type: System.Boolean

Remarks

This property returns True if Word displays a message box whenever a user opens the document, suggesting that it be opened as read-only, and False if not. Set the property value to True or False to enable or disable the functionality.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace