IConnectionPointContainer Antarmuka

Definisi

Menyediakan definisi antarmuka yang IConnectionPointContainer dikelola.

public interface class IConnectionPointContainer
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IConnectionPointContainer
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.Guid("B196B284-BAB4-101A-B69C-00AA00341D07")]
public interface IConnectionPointContainer
public interface IConnectionPointContainer
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IConnectionPointContainer = interface
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.Guid("B196B284-BAB4-101A-B69C-00AA00341D07")>]
type IConnectionPointContainer = interface
type IConnectionPointContainer = interface
Public Interface IConnectionPointContainer
Atribut

Keterangan

Untuk informasi selengkapnya, lihat dokumentasi yang sudah ada untuk IConnectionPointContainer di pustaka MSDN.

Runtime bahasa umum memberikan pengecualian saat metode COM dalam kode asli mengembalikan HRESULT. Untuk informasi selengkapnya, lihat Cara: Memetakan HRESULT dan Pengecualian.

Metode

EnumConnectionPoints(IEnumConnectionPoints)

Membuat enumerator semua titik koneksi yang didukung di objek yang dapat dihubungkan, satu titik koneksi per IID.

FindConnectionPoint(Guid, IConnectionPoint)

Menanyakan objek yang dapat dihubungkan apakah memiliki titik koneksi untuk IID tertentu, dan jika demikian, mengembalikan penunjuk antarmuka ke titik koneksi tersebut IConnectionPoint .

Berlaku untuk