Click or drag to resize

OpenXmlSimpleValueT Class

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

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntax
public abstract class OpenXmlSimpleValue<T> : OpenXmlSimpleType
where T : struct, new()

Type Parameters

T
The type of the value.

The OpenXmlSimpleValueT type exposes the following members.

Properties
 NameDescription
Public propertyHasValue Gets a value indicating whether the underneath text value is a valid value.
(Overrides OpenXmlSimpleTypeHasValue)
Public propertyInnerText Gets or sets the inner XML text.
(Overrides OpenXmlSimpleTypeInnerText)
Public propertyValue Gets or sets the value of the simple value.
Top
Methods
 NameDescription
Public methodClone Creates a duplicate of the current value.
(Inherited from OpenXmlSimpleType)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
Public methodGetHashCodeServes as the default hash function.
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToString Returns a String that represents the current value.
(Inherited from OpenXmlSimpleType)
Top
Operators
 NameDescription
Public operatorStatic member(OpenXmlSimpleValueT to T) Implicitly converts the specified value to T.
Top
See Also