Udostępnij za pośrednictwem


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

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace