GCHandle<T>(T) Constructeur

Définition

Alloue un handle pour l’objet spécifié.

public:
 GCHandle(T target);
public GCHandle(T target);
new System.Runtime.InteropServices.GCHandle<'T (requires 'T : null)> : 'T -> System.Runtime.InteropServices.GCHandle<'T (requires 'T : null)>
Public Sub New (target As T)

Paramètres

target
T

Objet qui utilise le GCHandle<T>.

S’applique à