TWeakReference<T> Class
Represents type TWeakReference<T>.
type TWeakReference<T> = class(TWeakReference, IWeakReference<T>) end;
Type Parameters
- T
The TWeakReference<T> type exposes the following members.
Show:
| Name | Description | |
|---|---|---|
![]() | Create(T) | Initializes a new instance of the TWeakReference<T> class. |
![]() | Destroy | Represents the destructor of the TWeakReference<T> class. |
Show:
| Name | Description | |
|---|---|---|
![]() | IsAlive | Represents property |
![]() | Target | Represents property |
Show:
| Name | Description | |
|---|---|---|
![]() | GetIsAlive | Represents method |
![]() | GetTarget | Represents method |
![]() | RegisterWeakRef(Pointer,Pointer) | Represents method |
![]() | SetTarget(T) | Represents method |
![]() | TryGetTarget(T) | Represents method |
![]() | UnregisterWeakRef(Pointer,Pointer) | Represents method |



