System::WeakReference<>::set_Target method

WeakReference<>::set_Target method

Sets the object (the target) referenced by the current WeakReference object.

void System::WeakReference<>::set_Target(const SmartPtr<Object> &data)
ParameterTypeDescription
dataconst SmartPtr<Object>&Object to set.

See Also