DocumentProtectionValues Enum  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义 DocumentProtectionValues 枚举。
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)- 继承
- 
				DocumentProtectionValues
- 继承
- 
				DocumentProtectionValues
字段
| 名称 | 值 | 说明 | 
|---|---|---|
| None | 0 | 无编辑限制。 当项序列化为 xml 时,其值为“none”。 | 
| ReadOnly | 1 | 不允许编辑。 当项序列化为 xml 时,其值为“readOnly”。 | 
| Comments | 2 | 允许编辑批注。 将项序列化为 xml 时,其值为“comments”。 | 
| TrackedChanges | 3 | 允许使用修订跟踪进行编辑。 当项序列化为 xml 时,其值为“trackedChanges”。 | 
| Forms | 4 | 允许编辑窗体域。 当项序列化为 xml 时,其值为“forms”。 | 
| Comments | 允许编辑批注。 将项序列化为 xml 时,其值为“comments”。 | |
| DocumentProtectionValues(String) | 创建新的 DocumentProtectionValues 枚举实例 | |
| Equality(DocumentProtectionValues, DocumentProtectionValues) | ||
| Equals(DocumentProtectionValues) | ||
| Equals(Object) | ||
| Forms | 允许编辑窗体域。 当项序列化为 xml 时,其值为“forms”。 | |
| GetHashCode() | ||
| IEnumValue.IsValid | ||
| IEnumValue.Value | ||
| IEnumValue.Version | ||
| IEnumValueFactory<DocumentProtectionValues>.Create(String) | ||
| Inequality(DocumentProtectionValues, DocumentProtectionValues) | ||
| None | 无编辑限制。 当项序列化为 xml 时,其值为“none”。 | |
| ReadOnly | 不允许编辑。 当项序列化为 xml 时,其值为“readOnly”。 | |
| ToString() | ||
| TrackedChanges | 允许使用修订跟踪进行编辑。 当项序列化为 xml 时,其值为“trackedChanges”。 |