WeakReference<T>.SetTarget(T) 方法

定义

设置 WeakReference<T> 对象引用的目标对象。

public:
 void SetTarget(T target);
public void SetTarget (T target);
member this.SetTarget : 'T -> unit
Public Sub SetTarget (target As T)

参数

target
T

新目标对象。

适用于