Share via


DocumentProtectionValues 枚举

定义

定义 DocumentProtectionValues 枚举。

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)
继承
DocumentProtectionValues
继承
DocumentProtectionValues

字段

DocumentProtectionValues(String)

创建新的 DocumentProtectionValues 枚举实例

Comments 2

允许编辑批注。

将项序列化为 xml 时,其值为“comments”。

Comments

允许编辑批注。

将项序列化为 xml 时,其值为“comments”。

Equals(Object)
Equals(DocumentProtectionValues)
Forms 4

允许编辑窗体域。

当项序列化为 xml 时,其值为“forms”。

Forms

允许编辑窗体域。

当项序列化为 xml 时,其值为“forms”。

GetHashCode()
None 0

无编辑限制。

当项序列化为 xml 时,其值为“none”。

None

无编辑限制。

当项序列化为 xml 时,其值为“none”。

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

不允许编辑。

当项序列化为 xml 时,其值为“readOnly”。

ReadOnly

不允许编辑。

当项序列化为 xml 时,其值为“readOnly”。

ToString()
TrackedChanges 3

允许使用修订跟踪进行编辑。

当项序列化为 xml 时,其值为“trackedChanges”。

TrackedChanges

允许使用修订跟踪进行编辑。

当项序列化为 xml 时,其值为“trackedChanges”。

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

适用于