Share via


DoubleValue Class

Definition

Represents the double value for attributes.

public class DoubleValue : DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<double>
public class DoubleValue : DocumentFormat.OpenXml.OpenXmlSimpleValue<double>
type DoubleValue = class
    inherit OpenXmlComparableSimpleValue<double>
type DoubleValue = class
    inherit OpenXmlSimpleValue<double>
Public Class DoubleValue
Inherits OpenXmlComparableSimpleValue(Of Double)
Public Class DoubleValue
Inherits OpenXmlSimpleValue(Of Double)
Inheritance
Inheritance

Constructors

DoubleValue()

Initializes a new instance of the DoubleValue class.

DoubleValue(Double)

Initializes a new instance of the DoubleValue class using the supplied Double value.

DoubleValue(DoubleValue)

Initializes a new instance of the DoubleValue by deep copying the supplied DoubleValue value.

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>)
FromDouble(Double)

Returns a new DoubleValue object created from a Double value.

GetHashCode() (Inherited from OpenXmlComparableSimpleValue<T>)
GetHashCode() (Inherited from OpenXmlSimpleValue<T>)
ToDouble(DoubleValue)

Returns the Double value representation of a DoubleValue object.

ToString()

Returns a String that represents the current value.

(Inherited from OpenXmlSimpleType)

Operators

Implicit(Double to DoubleValue)

Initializes a new instance of the DoubleValue class by implicitly converting the supplied Double value.

Implicit(DoubleValue to Double)

Implicitly converts the specified value to a Double value.

Applies to