[]
Converts given Variant to boolean.
public static explicit operator bool(Variant v)
Type | Name | Description |
---|---|---|
Variant | v | The Variant to be converted. |
Type | Description |
---|---|
bool | Returns
False in all other cases.
|
Converts Variant value to int.
public static explicit operator int(Variant v)
Type | Name | Description |
---|---|---|
Variant | v | The Variant to be converted. |
Type | Description |
---|---|
int |
Converts Variant value to long.
public static explicit operator long(Variant v)
Type | Name | Description |
---|---|---|
Variant | v | The Variant to be converted. |
Type | Description |
---|---|
long |
Converts Variant value to ulong.
public static explicit operator ulong(Variant v)
Type | Name | Description |
---|---|---|
Variant | v | The Variant to be converted. |
Type | Description |
---|---|
ulong |
Converts Variant value to double.
public static explicit operator double(Variant v)
Type | Name | Description |
---|---|---|
Variant | v | The Variant to be converted. |
Type | Description |
---|---|
double |
Converts Variant value to float.
public static explicit operator float(Variant v)
Type | Name | Description |
---|---|---|
Variant | v | The Variant to be converted. |
Type | Description |
---|---|
float |
Converts Variant value to decimal.
public static explicit operator decimal(Variant v)
Type | Name | Description |
---|---|---|
Variant | v | The Variant to be converted. |
Type | Description |
---|---|
decimal |
Converts Variant value to string.
public static explicit operator string(Variant v)
Type | Name | Description |
---|---|---|
Variant | v | The Variant to be converted. |
Type | Description |
---|---|
string |
Converts Variant value to DateTime.
public static explicit operator DateTime(Variant v)
Type | Name | Description |
---|---|---|
Variant | v | The Variant to be converted. |
Type | Description |
---|---|
DateTime |
Converts Variant value to GrapeCity.Enterprise.Data.Expressions.Evaluation.Variant.TimeSpan.
public static explicit operator TimeSpan(Variant v)
Type | Name | Description |
---|---|---|
Variant | v | The Variant to be converted. |
Type | Description |
---|---|
TimeSpan |