共用方式為


HighlightColorValues Enum

Definition

Defines the HighlightColorValues enumeration.

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

Fields

Name Value Description
Black 0

Black Highlighting Color.

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

Blue 1

Blue Highlighting Color.

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

Cyan 2

Cyan Highlighting Color.

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

Green 3

Green Highlighting Color.

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

Magenta 4

Magenta Highlighting Color.

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

Red 5

Red Highlighting Color.

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

Yellow 6

Yellow Highlighting Color.

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

White 7

White Highlighting Color.

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

DarkBlue 8

Dark Blue Highlighting Color.

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

DarkCyan 9

Dark Cyan Highlighting Color.

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

DarkGreen 10

Dark Green Highlighting Color.

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

DarkMagenta 11

Dark Magenta Highlighting Color.

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

DarkRed 12

Dark Red Highlighting Color.

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

DarkYellow 13

Dark Yellow Highlighting Color.

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

DarkGray 14

Dark Gray Highlighting Color.

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

LightGray 15

Light Gray Highlighting Color.

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

None 16

No Text Highlighting.

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

Black

Black Highlighting Color.

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

Blue

Blue Highlighting Color.

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

Cyan

Cyan Highlighting Color.

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

DarkBlue

Dark Blue Highlighting Color.

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

DarkCyan

Dark Cyan Highlighting Color.

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

DarkGray

Dark Gray Highlighting Color.

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

DarkGreen

Dark Green Highlighting Color.

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

DarkMagenta

Dark Magenta Highlighting Color.

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

DarkRed

Dark Red Highlighting Color.

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

DarkYellow

Dark Yellow Highlighting Color.

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

Equality(HighlightColorValues, HighlightColorValues)
Equals(HighlightColorValues)
Equals(Object)
GetHashCode()
Green

Green Highlighting Color.

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

HighlightColorValues(String)

Creates a new HighlightColorValues enum instance

IEnumValue.IsValid
IEnumValue.Value
IEnumValue.Version
IEnumValueFactory<HighlightColorValues>.Create(String)
Inequality(HighlightColorValues, HighlightColorValues)
LightGray

Light Gray Highlighting Color.

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

Magenta

Magenta Highlighting Color.

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

None

No Text Highlighting.

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

Red

Red Highlighting Color.

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

ToString()
White

White Highlighting Color.

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

Yellow

Yellow Highlighting Color.

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

Applies to