共用方式為


DocPartValues Enum

Definition

Defines the DocPartValues enumeration.

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

Fields

Name Value Description
None 0

No Type.

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

Normal 1

Normal.

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

AutoExp 2

Automatically Replace Name With Content.

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

Toolbar 3

AutoText User Interface Entry.

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

Speller 4

AutoCorrect Entry.

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

FormField 5

Form Field Help Text.

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

SdtPlaceholder 6

Structured Document Tag Placeholder Text.

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

AutoExp

Automatically Replace Name With Content.

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

DocPartValues(String)

Creates a new DocPartValues enum instance

Equality(DocPartValues, DocPartValues)
Equals(DocPartValues)
Equals(Object)
FormField

Form Field Help Text.

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

GetHashCode()
IEnumValue.IsValid
IEnumValue.Value
IEnumValue.Version
IEnumValueFactory<DocPartValues>.Create(String)
Inequality(DocPartValues, DocPartValues)
None

No Type.

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

Normal

Normal.

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

SdtPlaceholder

Structured Document Tag Placeholder Text.

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

Speller

AutoCorrect Entry.

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

Toolbar

AutoText User Interface Entry.

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

ToString()

Applies to