Name | Description | |
---|---|---|
![]() | Variant Constructor | Overloaded. |
The following tables list the members exposed by Variant.
Name | Description | |
---|---|---|
![]() | Variant Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() ![]() | Comparer | A Variant.VariantComparer instance. |
![]() ![]() | False | Predefined boolean 'False'. |
![]() ![]() | Null | Predefined 'Null' value. |
![]() ![]() | True | Predefined boolean 'True'. |
![]() ![]() | Zero | Predefined 'Zero' value. |
Name | Description | |
---|---|---|
![]() | IsNull | Checks if the variant value is null. |
![]() | IsNullOrEmptyString | Checks 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. |
![]() ![]() | Array | Initializes a new instance of the Variant with Array type. |
![]() | CompareTo | Overloaded. Compares the Variant with the specified object. |
![]() | ConvertTo | Converts the variant to the specified type. |
![]() ![]() | DateToString | Converts date to string. |
![]() | Equals | Overloaded. Checks whether the Variant equals to the specified object. |
![]() ![]() | FromObject | Initializes a 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. |
![]() | Overloaded. Sums two variants. |
![]() | Overloaded. Divides one variant by another. |
![]() | Checks whether two given Variants are equal. |
![]() | Overloaded. Converts given Variant to boolean. |
![]() | Checks whether the one variant is greater than another. |
![]() | Checks whether the one variant is greater or equal to another. |
![]() | Checks whether two given Variants are different. |
![]() | Bitwise shift to the left. |
![]() | Checks whether the one variant is less than another. |
![]() | Checks whether the one variant is less or equal to another. |
![]() | Performs a logical negation on a Variant value if it is of boolean type, or a bitwise negation if it is of a numeric type. |
![]() | Computes the remainder after dividing its first operand by its second. |
![]() | Multiplies two variants. |
![]() | Bitwise shift to the right. |
![]() | Subtracts one Variant from another. |
![]() | Negates the given numerical variant. |
![]() | Tries to convert string variant to numeric, raises expceptions for other non-numeric types, does nothing for all numeric types. |