共用方式為


TrueFalseBlankValue Class

Definition

Represents the data type for attributes that have enum values that are Boolean values that represent 't' or 'f', or 'true' or 'false'.

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

Constructors

TrueFalseBlankValue()

Initializes a new instance of the TrueFalseBlankValue class.

TrueFalseBlankValue(Boolean)

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

TrueFalseBlankValue(TrueFalseBlankValue)

Initializes a new instance of the TrueFalseBlankValue class using the supplied TrueFalseBlankValue class.

Properties

HasValue
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
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(OpenXmlComparableSimpleValue<T>) (Inherited from OpenXmlComparableSimpleValue<T>)
Equals(T) (Inherited from OpenXmlComparableSimpleValue<T>)
FromBoolean(Boolean)

Returns a new TrueFalseBlankValue object created from a Boolean value.

GetHashCode() (Inherited from OpenXmlComparableSimpleValue<T>)
ToBoolean(TrueFalseBlankValue)

Returns the internal Boolean representation of a TrueFalseBlankValue object.

ToString()

Returns a String that represents the current value.

(Inherited from OpenXmlSimpleType)

Operators

Implicit(Boolean to TrueFalseBlankValue)

Implicitly converts a Boolean value to a TrueFalsBlankValue value.

Implicit(TrueFalseBlankValue to Boolean)

Implicitly converts a TrueFalseBlankValue object to a Boolean value.

Applies to