operator=()

MulticastDelegate< ReturnType(ArgumentTypes…)>::operator=(const MulticastDelegate&) method

Assigns the collection of delegates represented by the specified object to the current object. As a result both objects point to the same collection of delegates.

MulticastDelegate & System::MulticastDelegate<ReturnType(ArgumentTypes...)>::operator=(const MulticastDelegate &o)

Arguments

ParameterTypeDescription
oconst MulticastDelegate&An instance of MulticastDelegate class containing the collection of delegates to be assigned to the current object.

MulticastDelegate< ReturnType(ArgumentTypes…)>::operator=(MulticastDelegate&&) method

Moving assignment operator.

MulticastDelegate & System::MulticastDelegate<ReturnType(ArgumentTypes...)>::operator=(MulticastDelegate &&o) noexcept

Arguments

ParameterTypeDescription
oMulticastDelegate&&An instance of MulticastDelegate class to move the collection of delegates from.

See Also