OpenXmlComparableSimpleValue<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a comparable and equatable value.
public abstract class OpenXmlComparableSimpleValue<T> : DocumentFormat.OpenXml.OpenXmlSimpleValue<T>, IComparable, IComparable<DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<T>>, IComparable<T>, IEquatable<DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<T>>, IEquatable<T> where T : struct
public abstract class OpenXmlComparableSimpleValue<T> : DocumentFormat.OpenXml.OpenXmlSimpleValue<T>, IComparable, IComparable<DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<T>>, IEquatable<DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<T>> where T : struct
type OpenXmlComparableSimpleValue<'T (requires 'T : struct)> = class
inherit OpenXmlSimpleValue<'T (requires 'T : struct)>
interface IComparable
interface IComparable<'T (requires 'T : struct)>
interface IEquatable<'T (requires 'T : struct)>
interface IComparable<OpenXmlComparableSimpleValue<'T>>
interface IEquatable<OpenXmlComparableSimpleValue<'T>>
type OpenXmlComparableSimpleValue<'T (requires 'T : struct)> = class
inherit OpenXmlSimpleValue<'T (requires 'T : struct)>
interface IComparable
interface IComparable<OpenXmlComparableSimpleValue<'T>>
interface IEquatable<OpenXmlComparableSimpleValue<'T>>
Public MustInherit Class OpenXmlComparableSimpleValue(Of T)
Inherits OpenXmlSimpleValue(Of T)
Implements IComparable, IComparable(Of OpenXmlComparableSimpleValue(Of T)), IComparable(Of T), IEquatable(Of OpenXmlComparableSimpleValue(Of T)), IEquatable(Of T)
Public MustInherit Class OpenXmlComparableSimpleValue(Of T)
Inherits OpenXmlSimpleValue(Of T)
Implements IComparable, IComparable(Of OpenXmlComparableSimpleValue(Of T)), IEquatable(Of OpenXmlComparableSimpleValue(Of T))
Type Parameters
- T
The type of the value.
- Inheritance
- Derived
- Implements
Properties
HasValue |
Gets a value that indicates whether the underneath text value is a valid value. (Inherited from OpenXmlSimpleValue<T>) |
InnerText |
Gets or sets the inner XML text. (Inherited from OpenXmlSimpleValue<T>) |
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. (Inherited from OpenXmlSimpleValue<T>) |
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(OpenXmlComparableSimpleValue<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. |
CompareTo(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(OpenXmlComparableSimpleValue<T>) | Indicates whether the current object is equal to another object of the same type. |
Equals(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(OpenXmlComparableSimpleValue<T>, OpenXmlComparableSimpleValue<T>) |
Determines whether the specified operands are equal. |
GreaterThan(OpenXmlComparableSimpleValue<T>, OpenXmlComparableSimpleValue<T>) |
Determines whether the left operand is greater than the right operand. |
GreaterThanOrEqual(OpenXmlComparableSimpleValue<T>, OpenXmlComparableSimpleValue<T>) |
Determines whether the left operand is greater than or equal to the right operand. |
Inequality(OpenXmlComparableSimpleValue<T>, OpenXmlComparableSimpleValue<T>) |
Determines whether the specified operands are not equal. |
LessThan(OpenXmlComparableSimpleValue<T>, OpenXmlComparableSimpleValue<T>) |
Determines whether the left operand is less than the right operand. |
LessThanOrEqual(OpenXmlComparableSimpleValue<T>, OpenXmlComparableSimpleValue<T>) |
Determines whether the left operand is less than or equal to the right operand. |