Share via


DocumentProtection.Edit Property

Document Editing Restrictions.Represents the attribte in schema: w:edit

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

Syntax

'Declaration
<SchemaAttrAttribute(, "edit")> _
Public Property Edit As EnumValue(Of DocumentProtectionValues)
    Get
    Set
'Usage
Dim instance As DocumentProtection
Dim value As EnumValue(Of DocumentProtectionValues)

value = instance.Edit

instance.Edit = value
[SchemaAttrAttribute(, "edit")]
public EnumValue<DocumentProtectionValues> Edit { get; set; }

Property Value

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

See Also

Reference

DocumentProtection Class

DocumentProtection Members

DocumentFormat.OpenXml.Wordprocessing Namespace