Description |
---|
Excerpt |
---|
Returns a DocumentProtection object that can be used to get and set the protection settings that Word will apply to this document. (Only applicable to Word 2000 or above documents.) |
Signature | C# | C# | |
---|---|---|---|
Wiki Markup | |||
{description}
{excerpt}Returns a [DocumentProtection|DocumentProtection] object that can be used to get and set the protection settings that Word will apply to this document. \(Only applicable to Word 2000 or above documents.\){excerpt}
{signature:C#}
public DocumentProtection DocumentProtection{ get; }
| |||
Signature | |||
{signature}{signature:vb.net | vb.net | }
Public ReadOnly Property DocumentProtection() As DocumentProtection
| |
Remarks | |||
MS Word {signature} {remarks}MS Word equivalent: Tools menu > Protect document... \(plus some additional settings) | |||
Example | |||
Code Block | | csharp | csharp |
title | C# | ||
Code Block | vb.net | title |