Document.WriteReserved Property (2007 System)
Gets a value that indicates whether the document is protected with a write password.
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 WriteReserved As Boolean
'Usage
Dim instance As Document
Dim value As Boolean
value = instance.WriteReserved
public bool WriteReserved { get; }
public:
property bool WriteReserved {
bool get ();
}
public function get WriteReserved () : boolean
Property Value
Type: System.Boolean
true if the document is protected with a write password; 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.