Altaxo |
public struct AltaxoVariant : IComparable, IFormattable
The AltaxoVariant type exposes the following members.
| Name | Description | |
|---|---|---|
| AltaxoVariant(AltaxoVariant) | Initializes a new instance of the AltaxoVariant struct by copying another variant. | |
| AltaxoVariant(DateTime) | Initializes a new instance of the AltaxoVariant struct from a DateTime value. | |
| AltaxoVariant(DateTimeOffset) | Initializes a new instance of the AltaxoVariant struct from a DateTimeOffset value. | |
| AltaxoVariant(Double) | Initializes a new instance of the AltaxoVariant struct from a Double value. | |
| AltaxoVariant(Object) | Initializes a new instance of the AltaxoVariant struct from an arbitrary object. | |
| AltaxoVariant(String) | Initializes a new instance of the AltaxoVariant struct from a string value. |
| Name | Description | |
|---|---|---|
| CanConvertedToDouble | Gets a value indicating whether the stored value can be converted to a Double. | |
| IsEmpty | Gets a value indicating whether this instance is empty. | |
| IsNativeNumeric | Gets a value indicating whether this instance holds a native numeric value, as for instance of type double or DateTime. |
| Name | Description | |
|---|---|---|
| Equals | Indicates whether this instance and a specified object are equal. (Overrides ValueTypeEquals(Object)) | |
| GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IsType | Determines whether this instance contains the specified content type. | |
| IsTypeOrNull | Determines whether this instance contains the specified content type or is empty. | |
| ToDateTime | Converts the content to a DateTime if possible. The structure remains unchanged. | |
| ToDateTimeOffset | Converts the content to a DateTime if possible. The structure remains unchanged. | |
| ToDouble | Converts the content to a double if possible. The structure remains unchanged. | |
| ToDoubleOrNaN | Converts the content to a double, if possible. The structure remains unchanged. | |
| ToNullableBoolean | Converts the variant to a nullable boolean value. | |
| ToObject | Converts the content to an object. This conversion is always possible. The structure remains unchanged. | |
| ToString | Returns the fully qualified type name of this instance. (Overrides ValueTypeToString) | |
| ToString(String, IFormatProvider) | Formats the value of the current instance using the specified format. |
| Name | Description | |
|---|---|---|
| Addition(AltaxoVariant, AltaxoVariant) | Adds two variants. | |
| BitwiseAnd(AltaxoVariant, AltaxoVariant) | Applies the bitwise AND operator to two variants. | |
| BitwiseOr(AltaxoVariant, AltaxoVariant) | Applies the bitwise OR operator to two variants. | |
| Decrement(AltaxoVariant) | Decrements a variant. | |
| Division(AltaxoVariant, AltaxoVariant) | Divides one variant by another. | |
| Equality(AltaxoVariant, AltaxoVariant) | Determines whether two variants are equal. | |
| ExclusiveOr(AltaxoVariant, AltaxoVariant) | Applies the bitwise XOR operator to two variants. | |
| False(AltaxoVariant) | Determines whether a variant evaluates to . | |
| GreaterThan(AltaxoVariant, AltaxoVariant) | Determines whether one variant is greater than another. | |
| GreaterThanOrEqual(AltaxoVariant, AltaxoVariant) | Determines whether one variant is greater than or equal to another. | |
| (AltaxoVariant to DateTime) | Converts a variant containing a DateTime to a DateTime. | |
| (AltaxoVariant to DateTimeOffset) | Converts a variant containing a DateTimeOffset to a DateTimeOffset. | |
| (AltaxoVariant to Double) | Converts a variant containing a Double to a Double. | |
| (AltaxoVariant to String) | Converts a variant containing a string to a string. | |
| (DateTime to AltaxoVariant) | Converts a DateTime to an AltaxoVariant. | |
| (DateTimeOffset to AltaxoVariant) | Converts a DateTimeOffset to an AltaxoVariant. | |
| (Double to AltaxoVariant) | Converts a Double to an AltaxoVariant. | |
| (String to AltaxoVariant) | Converts a string to an AltaxoVariant. | |
| Increment(AltaxoVariant) | Increments a variant. | |
| Inequality(AltaxoVariant, AltaxoVariant) | Determines whether two variants are not equal. | |
| LeftShift(AltaxoVariant, Int32) | Shifts a variant to the left. | |
| LessThan(AltaxoVariant, AltaxoVariant) | Determines whether one variant is less than another. | |
| LessThanOrEqual(AltaxoVariant, AltaxoVariant) | Determines whether one variant is less than or equal to another. | |
| LogicalNot(AltaxoVariant) | Applies the logical NOT operator to a variant. | |
| Modulus(AltaxoVariant, AltaxoVariant) | Calculates the remainder of one variant divided by another. | |
| Multiply(AltaxoVariant, AltaxoVariant) | Multiplies two variants. | |
| OnesComplement(AltaxoVariant) | Applies the bitwise complement operator to a variant. | |
| RightShift(AltaxoVariant, Int32) | Shifts a variant to the right. | |
| Subtraction(AltaxoVariant, AltaxoVariant) | Subtracts one variant from another. | |
| True(AltaxoVariant) | Determines whether a variant evaluates to . | |
| UnaryNegation(AltaxoVariant) | Applies the unary minus operator to a variant. | |
| UnaryPlus(AltaxoVariant) | Applies the unary plus operator to a variant. |