다음을 통해 공유


OnOffValues Enum

Definition

Defines the OnOffValues enumeration.

public enum OnOffValues
[DocumentFormat.OpenXml.OfficeAvailability(DocumentFormat.OpenXml.FileFormatVersions.Office2010)]
public enum OnOffValues
public readonly struct OnOffValues : DocumentFormat.OpenXml.IEnumValue, DocumentFormat.OpenXml.IEnumValueFactory<DocumentFormat.OpenXml.Office2010.Word.OnOffValues>, IEquatable<DocumentFormat.OpenXml.Office2010.Word.OnOffValues>
type OnOffValues = 
[<DocumentFormat.OpenXml.OfficeAvailability(DocumentFormat.OpenXml.FileFormatVersions.Office2010)>]
type OnOffValues = 
type OnOffValues = struct
    interface IEnumValue
    interface IEnumValueFactory<OnOffValues>
Public Enum OnOffValues
Public Structure OnOffValues
Implements IEnumValue, IEnumValueFactory(Of OnOffValues), IEquatable(Of OnOffValues)
Inheritance
OnOffValues
Inheritance
OnOffValues
Attributes

Fields

Name Value Description
True 0

true.

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

False 1

false.

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

Zero 2

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

One 3

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

Equality(OnOffValues, OnOffValues)
Equals(Object)
Equals(OnOffValues)
False

false.

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

GetHashCode()
IEnumValue.IsValid
IEnumValue.Value
IEnumValue.Version
IEnumValueFactory<OnOffValues>.Create(String)
Inequality(OnOffValues, OnOffValues)
One

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

OnOffValues(String)

Creates a new OnOffValues enum instance

ToString()
True

true.

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

Zero

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

Applies to