Share via


_Document.ReadOnly Property

Determines if changes to the document cannot be saved to the original document.

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

Syntax

'Declaration
ReadOnly Property ReadOnly As Boolean
    Get
'Usage
Dim instance As _Document
Dim value As Boolean

value = instance.ReadOnly
bool ReadOnly { get; }

Property Value

Type: System.Boolean

Remarks

This property returns True if changes to the document cannot be saved to the original document, and False if it can.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace