DocumentProtection.Enforcement Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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