Share via


TBoundProperty.operator=(const PropertyType&) (Compact 7)

3/12/2014

The = overloaded operator assigns the PropertyType value of the operand on the right to the TBoundProperty<PropertyType> value of the operand on the left in a C++ expression.

Syntax

const PropertyType& operator=(
  const PropertyType& value)

Parameters

  • value
    [in] Pointer to a PropertyType value that is the operand on the right in a C++ expression.

Return Value

Returns the value of the operand on the left after the new value is assigned.

Remarks

C++ expressions are sequences of operators and operands that are used for computing values or designating objects.

The operands you use with the = operator must have identical data types, or the operand on the right must be implicitly convertible to the type of the operand on the left.

The operand on the left in the C++ expression is a TBoundProperty<PropertyType> object.

Requirements

Header

XRPropertyBag.h

See Also

Reference

C++ Overloaded Operators for PropertyType
TBoundProperty.operator PropertyType()
TBoundProperty<PropertyType>