WeakGCHandle<T>.SetTarget(T) Méthode

Définition

Définit l’objet que représente ce handle.

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

Paramètres

target
T

Exceptions

Le handle n’est pas initialisé ou est déjà supprimé.

S’applique à