다음을 통해 공유


OnOffOnlyValues Enum

Definition

Defines the OnOffOnlyValues enumeration.

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

Fields

Name Value Description
On 0

on.

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

Off 1

off.

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

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

off.

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

On

on.

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

OnOffOnlyValues(String)

Creates a new OnOffOnlyValues enum instance

ToString()

Applies to