OpenXmlComparableSimpleReference<T> Class

Definition

Represents a comparable and equatable reference.

public abstract class OpenXmlComparableSimpleReference<T> : DocumentFormat.OpenXml.OpenXmlSimpleType, IComparable, IComparable<DocumentFormat.OpenXml.OpenXmlComparableSimpleReference<T>>, IEquatable<DocumentFormat.OpenXml.OpenXmlComparableSimpleReference<T>> where T : class, IComparable, IComparable<T>, IEquatable<T>
type OpenXmlComparableSimpleReference<'T (requires 'T : null and 'T :> IComparable and 'T :> IComparable<'T> and 'T :> IEquatable<'T>)> = class
    inherit OpenXmlSimpleType
    interface IComparable
    interface IComparable<OpenXmlComparableSimpleReference<'T>>
    interface IEquatable<OpenXmlComparableSimpleReference<'T>>
Public MustInherit Class OpenXmlComparableSimpleReference(Of T)
Inherits OpenXmlSimpleType
Implements IComparable, IComparable(Of OpenXmlComparableSimpleReference(Of T)), IEquatable(Of OpenXmlComparableSimpleReference(Of T))

Type Parameters

T

The type of the value.

Inheritance
OpenXmlComparableSimpleReference<T>
Derived
Implements

Properties

HasValue

Gets a value indicating whether the underneath text value is a valid value.

(Inherited from OpenXmlSimpleType)
InnerText

Gets or sets the inner XML text.

(Inherited from OpenXmlSimpleType)
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 this instance.

Methods

Clone()

Creates a duplicate of the current value.

(Inherited from OpenXmlSimpleType)
CompareTo(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.

CompareTo(OpenXmlComparableSimpleReference<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.

Equals(Object)

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

Equals(OpenXmlComparableSimpleReference<T>)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Serves as the default hash function.

ToString()

Returns a String that represents the current value.

(Inherited from OpenXmlSimpleType)

Operators

Equality(OpenXmlComparableSimpleReference<T>, OpenXmlComparableSimpleReference<T>)

Determines whether the specified operands are equal.

GreaterThan(OpenXmlComparableSimpleReference<T>, OpenXmlComparableSimpleReference<T>)

Determines whether the left operand is greater than the right operand.

GreaterThanOrEqual(OpenXmlComparableSimpleReference<T>, OpenXmlComparableSimpleReference<T>)

Determines whether the left operand is greater than or equal to the right operand.

Inequality(OpenXmlComparableSimpleReference<T>, OpenXmlComparableSimpleReference<T>)

Determines whether the specified operands are not equal.

LessThan(OpenXmlComparableSimpleReference<T>, OpenXmlComparableSimpleReference<T>)

Determines whether the left operand is less than the right operand.

LessThanOrEqual(OpenXmlComparableSimpleReference<T>, OpenXmlComparableSimpleReference<T>)

Determines whether the left operand is less than or equal to the right operand.

Applies to