company logo

PropertyHandle :: operator+ - Sum two properties

The sum operation performed depends on the type of the first operand. If the second operand is not compatible with the first operand the function tries to convert the second operand into the type of the first operand. If no conversion is possible the operation fails.

1. Numerical data

The operator adds the second operand to the first one.

2. Text data

The operator concatenates the second operand to the first operand 1, i.e. "Paul " + "Miller" = "Paul Miller".

3. Collections

The Union operation is performed as operand1.Union(operand2)

4. Time fields

For date and time one may add only integer.

5. Logical

The subtract operation returns the result of an or operation

The result is returned in a property handle that is created temporarily. One may assign the result to another property handle or performing further operations.

Return value:   - internal feature (not documented) (   )

Implementation details

PropertyHandle PropertyHandle  :: operator+ ( PropertyHandle &cprop_hdl )
  • cprop_hdl - Property Handle