System::WeakReference<>::WeakReference method

WeakReference<>::WeakReference() method

Default constructor.

System::WeakReference<>::WeakReference()

See Also

WeakReference<>::WeakReference(const SmartPtr<Object>&) method

Initializes a new instance of the WeakReference class, referencing the specified object.

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

See Also

WeakReference<>::WeakReference(const SmartPtr<Object>&, bool) method

Initializes a new instance of the WeakReference class, referencing the specified object.

System::WeakReference<>::WeakReference(const SmartPtr<Object> &data, bool trackResurrection)
ParameterTypeDescription
dataconst SmartPtr<Object>&Object to store.
trackResurrectionboolIgnored.

See Also

WeakReference<>::WeakReference(std::nullptr_t) method

Constructor from nullptr.

System::WeakReference<>::WeakReference(std::nullptr_t)

See Also