Table of Contents

Field ProtectionNotEnforced

Namespace
DocWright.Core.Diagnostics
Assembly
DocWright.Core.dll

DXP6004: reserved; nothing reports it. A document's protection settings (w:documentProtection, w:writeProtection) are read into the model, preserved on save and never enforced, and no reader reports that they are there. To find out whether a document asks to be protected, read WordDocument.Settings.Protection (HasDocumentProtection, HasWriteProtection) rather than waiting for this code.

public const string ProtectionNotEnforced = "DXP6004"

Returns

string
DXP6004: reserved; nothing reports it. A document's protection settings (w:documentProtection, w:writeProtection) are read into the model, preserved on save and never enforced, and no reader reports that they are there. To find out whether a document asks to be protected, read WordDocument.Settings.Protection (HasDocumentProtection, HasWriteProtection) rather than waiting for this code.