共用方式為


DocumentBase.WriteReserved Property

Gets a value that indicates whether the document is protected with a write password.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

Syntax

'Declaration
Public ReadOnly Property WriteReserved As Boolean
public bool WriteReserved { get; }

Property Value

Type: System.Boolean
true if the document is protected with a write password; otherwise, false.

.NET Framework Security

See Also

Reference

DocumentBase Class

Microsoft.Office.Tools.Word Namespace