BooleanValue BooleanValue BooleanValue Class

Definition

Represents the Boolean value for attributes.

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

Constructors

BooleanValue() BooleanValue() BooleanValue()

Initializes a new instance of the BooleanValue class.

BooleanValue(Boolean) BooleanValue(Boolean) BooleanValue(Boolean)

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

BooleanValue(BooleanValue) BooleanValue(BooleanValue) BooleanValue(BooleanValue)

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

Properties

HasValue HasValue HasValue

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

(Inherited from OpenXmlSimpleValue<T>)
InnerText InnerText InnerText

Gets or sets the inner XML text.

TextValue TextValue TextValue

DON'T use this property. Only for OpenXmlSimpleType.cs internal use. The internal raw text value.

(Inherited from OpenXmlSimpleType)
Value Value Value

Gets or sets the value of the simple value.

(Inherited from OpenXmlSimpleValue<T>)

Methods

Clone() Clone() Clone()

Creates a duplicate of the current value.

(Inherited from OpenXmlSimpleType)
FromBoolean(Boolean) FromBoolean(Boolean) FromBoolean(Boolean)

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

ToBoolean(BooleanValue) ToBoolean(BooleanValue) ToBoolean(BooleanValue)

Returns the Boolean representation of a BooleanValue object.

ToString() ToString() ToString()

Returns a String that represents the current value.

(Inherited from OpenXmlSimpleType)

Operators

Implicit(Boolean to BooleanValue) Implicit(Boolean to BooleanValue) Implicit(Boolean to BooleanValue)

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

Implicit(BooleanValue to Boolean) Implicit(BooleanValue to Boolean) Implicit(BooleanValue to Boolean)

Implicitly converts the specified value to a Boolean value.

Applies to