共用方式為


LockingValues Enum

Definition

Defines the LockingValues enumeration.

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

Fields

Name Value Description
SdtLocked 0

SDT Cannot Be Deleted.

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

ContentLocked 1

Contents Cannot Be Edited At Runtime.

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

Unlocked 2

No Locking.

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

SdtContentLocked 3

Contents Cannot Be Edited At Runtime And SDT Cannot Be Deleted.

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

ContentLocked

Contents Cannot Be Edited At Runtime.

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

Equality(LockingValues, LockingValues)
Equals(LockingValues)
Equals(Object)
GetHashCode()
IEnumValue.IsValid
IEnumValue.Value
IEnumValue.Version
IEnumValueFactory<LockingValues>.Create(String)
Inequality(LockingValues, LockingValues)
LockingValues(String)

Creates a new LockingValues enum instance

SdtContentLocked

Contents Cannot Be Edited At Runtime And SDT Cannot Be Deleted.

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

SdtLocked

SDT Cannot Be Deleted.

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

ToString()
Unlocked

No Locking.

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

Applies to