Name | Description | |
---|---|---|
Variant Constructor | Overloaded. |
The following tables list the members exposed by Variant.
Name | Description | |
---|---|---|
Variant Constructor | Overloaded. |
Name | Description | |
---|---|---|
Comparer | VariantComparer instance | |
False | PRedefined boolean 'False'. | |
Null | Predefined 'Null' value. | |
True | Predefined boolean 'True'. | |
Zero | Predefined 'Zero' value. |
Name | Description | |
---|---|---|
IsNull | Check if the variant value is null. | |
IsNullOrEmptyString | Check if the variant value is null or empty string. | |
Type | The type of value represented with the Variant. |
Name | Description | |
---|---|---|
And | Applies boolean '&&' to booleans and bitwise '&' to numeric. | |
CompareTo | Overloaded. Compare the Variant with the specified object. | |
Equals | Overloaded. Checks whether the Variant equals to the specified object. | |
FromObject | Initialize new instance of the Variant from the value specified as object. The type of variant will be inferred from the specified value. | |
GetHashCode | Gets hash code for the variant. | |
Or | Applies boolean '||' to booleans and bitwise '|' to numeric. | |
Pow | Returns a specified Variant raised to the specified power. | |
ToObject | Converts the Variant to the object. | |
ToString | Overloaded. Converts Variant to the string representation with given format provider. | |
Xor | Applies boolean '!=' to booleans and bitwise '^' to numeric. |
Addition | Overloaded. Sums two variants. |
Division | Overloaded. Devides one variant by another. |
Equality | Checks whether two given Variants are equal. |
Explicit Type Conversion | Overloaded. Conerts given Variant to boolean. |
Greater Than | Checks wheter the one variant is greater than another. |
Greater Than or Equal | Checks wheter the one variant is greater or equal to another. |
Inequality | Checks whether two given Variants are different. |
Left-shift | Bitwise shift to the left. |
Less Than | Checks wheter the one variant is less than another. |
Less Than or Equal | Checks wheter the one variant is less or equal to another. |
Logical Not | Inerts bitwise the given variant value. |
Modulus | Computes the remainder after dividing its first operand by its second. |
Multiplication | Multiplies two variants |
Right-shift | Bitwise shift to the right. |
Subtraction | Substracts one Variant from another. |
Unary Negation | Negatiates the given numerical variant. |
Unary Plus | Tries to convert string variant to numeric, raises expcetions for other non-numeric types, does nothing for all numeric types. |