System::WeakReference< T >::SetTarget method

WeakReference< T >::SetTarget method

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

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

See Also