_Attribute Antarmuka

Definisi

Penting

API ini bukan kompatibel CLS.

Attribute Mengekspos kelas ke kode yang tidak dikelola.

public interface class _Attribute
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("917B14D0-2D9E-38B8-92A9-381ACF52F7C0")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _Attribute
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("917B14D0-2D9E-38B8-92A9-381ACF52F7C0")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface _Attribute
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("917B14D0-2D9E-38B8-92A9-381ACF52F7C0")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type _Attribute = interface
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("917B14D0-2D9E-38B8-92A9-381ACF52F7C0")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type _Attribute = interface
Public Interface _Attribute
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