Bahasa

WebBrowser.AttachInterfaces(Object) Metode

Definisi

Dipanggil oleh kontrol saat kontrol ActiveX yang mendasar dibuat.

protected:
 override void AttachInterfaces(System::Object ^ nativeActiveXObject);
protected override void AttachInterfaces(object nativeActiveXObject);
override this.AttachInterfaces : obj -> unit
Protected Overrides Sub AttachInterfaces (nativeActiveXObject As Object)

Parameter

nativeActiveXObject
Object

Objek yang mewakili kontrol ActiveX yang mendasar.

Catatan Bagi Inheritor

Kelas turunan dapat mengambil alih metode ini untuk mentransmisikan objek ActiveX yang mendasar ke antarmuka yang sesuai dan menyimpannya dalam variabel anggota. Nilai ini kemudian harus dirilis dalam penimpaan DetachInterfaces() metode .

Berlaku untuk