DocumentProtectionValues Enum  
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.
Defines the DocumentProtectionValues enumeration.
public enum DocumentProtectionValuespublic 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 DocumentProtectionValuesPublic Structure DocumentProtectionValues
Implements IEnumValue, IEnumValueFactory(Of DocumentProtectionValues), IEquatable(Of DocumentProtectionValues)- Inheritance
- 
				DocumentProtectionValues
- Inheritance
- 
				DocumentProtectionValues
Fields
| Name | Value | Description | 
|---|---|---|
| None | 0 | No Editing Restrictions. When the item is serialized out as xml, its value is "none". | 
| ReadOnly | 1 | Allow No Editing. When the item is serialized out as xml, its value is "readOnly". | 
| Comments | 2 | Allow Editing of Comments. When the item is serialized out as xml, its value is "comments". | 
| TrackedChanges | 3 | Allow Editing With Revision Tracking. When the item is serialized out as xml, its value is "trackedChanges". | 
| Forms | 4 | Allow Editing of Form Fields. When the item is serialized out as xml, its value is "forms". | 
| Comments | Allow Editing of Comments. When the item is serialized out as xml, its value is "comments". | |
| DocumentProtectionValues(String) | Creates a new DocumentProtectionValues enum instance | |
| Equality(DocumentProtectionValues, DocumentProtectionValues) | ||
| Equals(DocumentProtectionValues) | ||
| Equals(Object) | ||
| Forms | Allow Editing of Form Fields. When the item is serialized out as xml, its value is "forms". | |
| GetHashCode() | ||
| IEnumValue.IsValid | ||
| IEnumValue.Value | ||
| IEnumValue.Version | ||
| IEnumValueFactory<DocumentProtectionValues>.Create(String) | ||
| Inequality(DocumentProtectionValues, DocumentProtectionValues) | ||
| None | No Editing Restrictions. When the item is serialized out as xml, its value is "none". | |
| ReadOnly | Allow No Editing. When the item is serialized out as xml, its value is "readOnly". | |
| ToString() | ||
| TrackedChanges | Allow Editing With Revision Tracking. When the item is serialized out as xml, its value is "trackedChanges". |