Udostępnij za pośrednictwem


Boolean Enum

Definition

Defines the Boolean enumeration.

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

Fields

Name Value Description
False 0

false.

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

True 1

true.

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

Ninch 2

ninch.

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

Boolean(String)

Creates a new Boolean enum instance

Equality(Boolean, Boolean)
Equals(Boolean)
Equals(Object)
False

false.

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

GetHashCode()
IEnumValue.IsValid
IEnumValue.Value
IEnumValue.Version
IEnumValueFactory<Boolean>.Create(String)
Inequality(Boolean, Boolean)
Ninch

ninch.

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

ToString()
True

true.

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

Applies to