Share via


DocumentProtection.Enforcement Property

Definition

Enforce Document Protection Settings

Represents the following attribute in the schema: w:enforcement

[DocumentFormat.OpenXml.SchemaAttr(23, "enforcement")]
public DocumentFormat.OpenXml.OnOffValue Enforcement { get; set; }
public DocumentFormat.OpenXml.OnOffValue Enforcement { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "enforcement")]
public DocumentFormat.OpenXml.OnOffValue? Enforcement { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:enforcement")]
public DocumentFormat.OpenXml.OnOffValue? Enforcement { get; set; }
public DocumentFormat.OpenXml.OnOffValue? Enforcement { get; set; }
member this.Enforcement : DocumentFormat.OpenXml.OnOffValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "enforcement")>]
member this.Enforcement : DocumentFormat.OpenXml.OnOffValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:enforcement")>]
member this.Enforcement : DocumentFormat.OpenXml.OnOffValue with get, set
Public Property Enforcement As OnOffValue

Property Value

Returns EnumValue<T>.

Attributes

Applies to