DocumentProtectionValues Enum

Definition

Defines the DocumentProtectionValues enumeration.

public enum DocumentProtectionValues
public readonly struct DocumentProtectionValues : DocumentFormat.OpenXml.IEnumValue, DocumentFormat.OpenXml.IEnumValueFactory<DocumentFormat.OpenXml.Wordprocessing.DocumentProtectionValues>, IEquatable<DocumentFormat.OpenXml.Wordprocessing.DocumentProtectionValues>
type DocumentProtectionValues = 
type DocumentProtectionValues = struct
    interface IEnumValue
    interface IEnumValueFactory<DocumentProtectionValues>
Public Enum DocumentProtectionValues
Public Structure DocumentProtectionValues
Implements IEnumValue, IEnumValueFactory(Of DocumentProtectionValues), IEquatable(Of DocumentProtectionValues)
Inheritance
DocumentProtectionValues
Inheritance
DocumentProtectionValues

Fields

DocumentProtectionValues(String)

Creates a new DocumentProtectionValues enum instance

Comments 2

Allow Editing of Comments.

When the item is serialized out as xml, its value is "comments".

Comments

Allow Editing of Comments.

When the item is serialized out as xml, its value is "comments".

Equals(Object)
Equals(DocumentProtectionValues)
Forms 4

Allow Editing of Form Fields.

When the item is serialized out as xml, its value is "forms".

Forms

Allow Editing of Form Fields.

When the item is serialized out as xml, its value is "forms".

GetHashCode()
None 0

No Editing Restrictions.

When the item is serialized out as xml, its value is "none".

None

No Editing Restrictions.

When the item is serialized out as xml, its value is "none".

Equality(DocumentProtectionValues, DocumentProtectionValues)
Inequality(DocumentProtectionValues, DocumentProtectionValues)
ReadOnly 1

Allow No Editing.

When the item is serialized out as xml, its value is "readOnly".

ReadOnly

Allow No Editing.

When the item is serialized out as xml, its value is "readOnly".

ToString()
TrackedChanges 3

Allow Editing With Revision Tracking.

When the item is serialized out as xml, its value is "trackedChanges".

TrackedChanges

Allow Editing With Revision Tracking.

When the item is serialized out as xml, its value is "trackedChanges".

IEnumValue.IsValid
IEnumValue.Value
IEnumValue.Version
IEnumValueFactory<DocumentProtectionValues>.Create(String)

Applies to