DocumentProtection.Enforcement Property

Enforce Document Protection Settings.Represents the attribte in schema: w:enforcement

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "enforcement")> _
Public Property Enforcement As OnOffValue
    Get
    Set
'Usage
Dim instance As DocumentProtection
Dim value As OnOffValue

value = instance.Enforcement

instance.Enforcement = value
[SchemaAttrAttribute(, "enforcement")]
public OnOffValue Enforcement { get; set; }

Property Value

Type: DocumentFormat.OpenXml.OnOffValue
Returns EnumValue<T>.

See Also

Reference

DocumentProtection Class

DocumentProtection Members

DocumentFormat.OpenXml.Wordprocessing Namespace