BooleanValue Class

Definition

Represents the Boolean value for attributes.

public class BooleanValue : DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<bool>
public class BooleanValue : DocumentFormat.OpenXml.OpenXmlSimpleValue<bool>
type BooleanValue = class
    inherit OpenXmlComparableSimpleValue<bool>
type BooleanValue = class
    inherit OpenXmlSimpleValue<bool>
Public Class BooleanValue
Inherits OpenXmlComparableSimpleValue(Of Boolean)
Public Class BooleanValue
Inherits OpenXmlSimpleValue(Of Boolean)
Inheritance
Inheritance

Constructors

BooleanValue()

Initializes a new instance of the BooleanValue class.

BooleanValue(Boolean)

Initializes a new instance of the BooleanValue class using the supplied Boolean value.

BooleanValue(BooleanValue)

Initializes a new instance of the BooleanValue class by deep copying the supplied BooleanValue class.

Properties

HasValue

Gets a value that indicates whether the underneath text value is a valid value.

(Inherited from OpenXmlSimpleValue<T>)
InnerText
InnerText

Gets or sets the inner XML text.

(Inherited from OpenXmlSimpleValue<T>)
TextValue
Obsolete.

Gets or sets the internal raw text value. DO NOT use this property. Only for OpenXmlSimpleType.cs internal use.

(Inherited from OpenXmlSimpleType)
Value

Gets or sets the value of the simple value.

(Inherited from OpenXmlSimpleValue<T>)

Methods

Clone()

Creates a duplicate of the current value.

(Inherited from OpenXmlSimpleType)
CompareTo(Object) (Inherited from OpenXmlComparableSimpleValue<T>)
CompareTo(OpenXmlComparableSimpleValue<T>) (Inherited from OpenXmlComparableSimpleValue<T>)
CompareTo(T) (Inherited from OpenXmlComparableSimpleValue<T>)
Equals(Object) (Inherited from OpenXmlComparableSimpleValue<T>)
Equals(Object) (Inherited from OpenXmlSimpleValue<T>)
Equals(OpenXmlComparableSimpleValue<T>) (Inherited from OpenXmlComparableSimpleValue<T>)
Equals(T) (Inherited from OpenXmlComparableSimpleValue<T>)
FromBoolean(Boolean)

Returns a new BooleanValue object that was created by using the supplied Boolean value.

GetHashCode() (Inherited from OpenXmlComparableSimpleValue<T>)
GetHashCode() (Inherited from OpenXmlSimpleValue<T>)
ToBoolean(BooleanValue)

Returns the Boolean representation of a BooleanValue object.

ToString()

Returns a String that represents the current value.

(Inherited from OpenXmlSimpleType)

Operators

Implicit(Boolean to BooleanValue)

Initializes a new instance of the BooleanValue class by implicitly converting the supplied Boolean value.

Implicit(BooleanValue to Boolean)

Implicitly converts the specified value to a Boolean value.

Applies to