Click or drag to resize

OpenXmlComparableSimpleValueT Class

Represents a comparable and equatable value.
Inheritance Hierarchy
SystemObject
  DocumentFormat.OpenXmlOpenXmlSimpleType
    DocumentFormat.OpenXmlOpenXmlSimpleValueT
      DocumentFormat.OpenXmlOpenXmlComparableSimpleValueT
        More

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 OpenXmlComparableSimpleValue<T> : OpenXmlSimpleValue<T>, 
	IComparable, IComparable<T>, IEquatable<T>, IComparable<OpenXmlComparableSimpleValue<T>>, 
	IEquatable<OpenXmlComparableSimpleValue<T>>
where T : struct, new(), IComparable, IComparable<T>, IEquatable<T>

Type Parameters

T
The type of the value.

The OpenXmlComparableSimpleValueT type exposes the following members.

Properties
 NameDescription
Public propertyHasValue Gets a value indicating whether the underneath text value is a valid value.
(Inherited from OpenXmlSimpleValueT)
Public propertyInnerText Gets or sets the inner XML text.
(Inherited from OpenXmlSimpleValueT)
Public propertyValue Gets or sets the value of the simple value.
(Inherited from OpenXmlSimpleValueT)
Top
Methods
 NameDescription
Public methodClone Creates a duplicate of the current value.
(Inherited from OpenXmlSimpleType)
Public methodCompareTo(Object)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodCompareTo(T)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodCompareTo(OpenXmlComparableSimpleValueT)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodEquals(Object)Determines whether the specified object is equal to the current object.
(Overrides OpenXmlSimpleValueTEquals(Object))
Public methodEquals(T)Indicates whether the current object is equal to another object of the same type.
Public methodEquals(OpenXmlComparableSimpleValueT)Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCodeServes as the default hash function.
(Overrides OpenXmlSimpleValueTGetHashCode)
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 memberEquality(OpenXmlComparableSimpleValueT, OpenXmlComparableSimpleValueT) Determines whether the specified operands are equal.
Public operatorStatic memberGreaterThan(OpenXmlComparableSimpleValueT, OpenXmlComparableSimpleValueT) Determines whether the left operand is greater than the right operand.
Public operatorStatic memberGreaterThanOrEqual(OpenXmlComparableSimpleValueT, OpenXmlComparableSimpleValueT) Determines whether the left operand is greater than or equal to the right operand.
Public operatorStatic memberInequality(OpenXmlComparableSimpleValueT, OpenXmlComparableSimpleValueT) Determines whether the specified operands are not equal.
Public operatorStatic memberLessThan(OpenXmlComparableSimpleValueT, OpenXmlComparableSimpleValueT) Determines whether the left operand is less than the right operand.
Public operatorStatic memberLessThanOrEqual(OpenXmlComparableSimpleValueT, OpenXmlComparableSimpleValueT) Determines whether the left operand is less than or equal to the right operand.
Top
See Also
Inheritance Hierarchy