Document.ReadOnly Property (2007 System)
Gets a value that indicates whether changes to the document cannot be saved to the original document.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
Public ReadOnly Property ReadOnly As Boolean
'Usage
Dim instance As Document
Dim value As Boolean
value = instance.ReadOnly
public bool ReadOnly { get; }
public:
property bool ReadOnly {
bool get ();
}
public function get ReadOnly () : boolean
Property Value
Type: System.Boolean
true if changes to the document cannot be saved to the original document; 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.