OpenXmlSimpleValue<T> Class

Definition

Represents a generic value for simple value types (such as Int32 , UInt32, Byte, etc).

public abstract class OpenXmlSimpleValue<T> : DocumentFormat.OpenXml.OpenXmlSimpleType where T : struct
type OpenXmlSimpleValue<'T (requires 'T : struct)> = class
    inherit OpenXmlSimpleType
Public MustInherit Class OpenXmlSimpleValue(Of T)
Inherits OpenXmlSimpleType

Type Parameters

T

The type of the value.

Inheritance
OpenXmlSimpleValue<T>
Derived

Constructors

OpenXmlSimpleValue<T>()

Initializes a new instance of the OpenXmlSimpleValue class.

OpenXmlSimpleValue<T>(OpenXmlSimpleValue<T>)

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

OpenXmlSimpleValue<T>(T)

Initializes a new instance of the OpenXmlSimpleValue class.

Properties

HasValue

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

InnerText

Gets or sets the inner XML text.

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.

Methods

Clone()

Creates a duplicate of the current value.

(Inherited from OpenXmlSimpleType)
Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

ToString()

Returns a String that represents the current value.

(Inherited from OpenXmlSimpleType)

Operators

Implicit(OpenXmlSimpleValue<T> to T)

Implicitly converts the specified value to T.

Applies to