[]
Tries to convert string variant to numeric, raises expceptions for other non-numeric types, does nothing for all numeric types.
public static Variant operator +(Variant a)
Type | Name | Description |
---|---|---|
Variant | a | The variant. |
Type | Description |
---|---|
Variant |
Type | Condition |
---|---|
InvalidVariantOperationException | Thrown if the Variant is of a non-numeric, non-boolean type that does not support negation, such as TimeSpan, Date, or Object. |