Share via


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

OnOffValues(String)

Creates a new OnOffValues enum instance

Equals(Object)
Equals(OnOffValues)
False

false.

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

False 1

false.

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

GetHashCode()
One 3

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

One

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

Equality(OnOffValues, OnOffValues)
Inequality(OnOffValues, OnOffValues)
ToString()
True 0

true.

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

True

true.

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

Zero 2

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

Zero

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

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

Applies to