Share via


SingleValue Class

Definition

Represents the Single value for attributes.

public class SingleValue : DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<float>
public class SingleValue : DocumentFormat.OpenXml.OpenXmlSimpleValue<float>
type SingleValue = class
    inherit OpenXmlComparableSimpleValue<single>
type SingleValue = class
    inherit OpenXmlSimpleValue<single>
Public Class SingleValue
Inherits OpenXmlComparableSimpleValue(Of Single)
Public Class SingleValue
Inherits OpenXmlSimpleValue(Of Single)
Inheritance
Inheritance

Constructors

SingleValue()

Initializes a new instance of the SingleValue class.

SingleValue(Single)

Initializes a new instance of the SingleValue class using the supplied Single value.

SingleValue(SingleValue)

Initializes a new instance of the SingleValue class by deep copying the supplied SingleValue 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>)
FromSingle(Single)

Returns a new SingleValue object that was created from a Single value.

GetHashCode() (Inherited from OpenXmlComparableSimpleValue<T>)
GetHashCode() (Inherited from OpenXmlSimpleValue<T>)
ToSingle(SingleValue)

Returns the Single value representation of a SingleValue object.

ToString()

Returns a String that represents the current value.

(Inherited from OpenXmlSimpleType)

Operators

Implicit(Single to SingleValue)

Implicitly converts the specified Single value to a SingleValue object.

Implicit(SingleValue to Single)

Implicitly converts the specified SingleValue object to a Single value.

Applies to