[]
Sums two variants.
public static Variant operator +(Variant a, Variant b)
Type | Name | Description |
---|---|---|
Variant | a | The first Variant to be summed. |
Variant | b | The second Variant to be summed. |
Type | Description |
---|---|
Variant | The sum of a and b. |
Type | Condition |
---|---|
InvalidVariantOperationException | Raised if any of variants is not numeric and can't be converted to numeric. |
Sums the Variant and long value.
public static Variant operator +(Variant a, long b)
Type | Name | Description |
---|---|---|
Variant | a | The variant to be summed. |
long | b | The long integer to be summed. |
Type | Description |
---|---|
Variant | The Variant which represents the sum of passed parameters. |