_Activator Antarmuka

Definisi

Penting

API ini bukan kompatibel CLS.

Activator Mengekspos kelas ke kode yang tidak dikelola.

public interface class _Activator
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("03973551-57A1-3900-A2B5-9083E3FF2943")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _Activator
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("03973551-57A1-3900-A2B5-9083E3FF2943")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface _Activator
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("03973551-57A1-3900-A2B5-9083E3FF2943")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type _Activator = interface
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("03973551-57A1-3900-A2B5-9083E3FF2943")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type _Activator = interface
Public Interface _Activator
Turunan
Atribut

Keterangan

Antarmuka ini untuk akses ke kelas terkelola dari kode yang tidak dikelola dan tidak boleh dipanggil dari kode terkelola.

Metode

GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Memetakan sekumpulan nama ke sekumpulan pengidentifikasi pengiriman yang sesuai.

GetTypeInfo(UInt32, UInt32, IntPtr)

Mengambil informasi jenis untuk objek, yang dapat digunakan untuk mendapatkan informasi jenis untuk antarmuka.

GetTypeInfoCount(UInt32)

Mengambil jumlah antarmuka informasi jenis yang disediakan objek (baik 0 atau 1).

Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Menyediakan akses ke properti dan metode yang diekspos oleh objek.

Berlaku untuk