Partager via


OpenXmlSimpleValue<T> Members

Include Protected Members
Include Inherited Members

Defines OpenXmlSimpleValue, a generic base class for simple value types (Int32, UInt32, Byte, struct, etc).

The OpenXmlSimpleValue<T> type exposes the following members.

Constructors

  Name Description
Protected method OpenXmlSimpleValue<T>() Initializes a new instance of the OpenXmlSimpleValue.
Protected method OpenXmlSimpleValue<T>(T) Initializes a new instance of the OpenXmlSimpleValue.
Protected method OpenXmlSimpleValue<T>(OpenXmlSimpleValue<T>) Initializes a new instance of the OpenXmlSimpleValue by deep copy.

Top

Properties

  Name Description
Public property HasValue Gets a value indicating whether underneath text value is valid value. (Overrides OpenXmlSimpleType.HasValue.)
Public property InnerText Gets or sets the inner xml text. (Overrides OpenXmlSimpleType.InnerText.)
Protected property TextValue DON'T use this property. Only for OpenXmlSimpleType.cs internal use. The internal raw text value. (Inherited from OpenXmlSimpleType.)
Public property Value Gets or sets the value of the simple value.

Top

Methods

  Name Description
Public method Clone Creates a duplicate of this value. (Inherited from OpenXmlSimpleType.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a String that represents the current value. (Inherited from OpenXmlSimpleType.)

Top

Operators

  Name Description
Public operatorStatic member Implicit(OpenXmlSimpleValue<T> to T) Implicit converter to T.

Top

See Also

Reference

OpenXmlSimpleValue<T> Class

DocumentFormat.OpenXml Namespace