IConnectionPointContainer Arabirim

Tanım

Arabirimin yönetilen tanımını IConnectionPointContainer sağlar.

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
Öznitelikler

Açıklamalar

Daha fazla bilgi için IConnectionPointContainer MSDN kitaplığında için mevcut belgelere bakın.

Yerel koddaki com yöntemi bir HRESULT döndürdüğünde ortak dil çalışma zamanı özel durum oluşturur. Daha fazla bilgi için bkz . Nasıl yapılır: HRESULTs ve Özel Durumları Eşleme.

Yöntemler

EnumConnectionPoints(IEnumConnectionPoints)

IID başına bir bağlantı noktası olmak üzere bağlanılabilir nesnede desteklenen tüm bağlantı noktalarının bir numaralandırıcısını oluşturur.

FindConnectionPoint(Guid, IConnectionPoint)

Bağlanılabilir nesneye belirli bir IID için bağlantı noktası olup olmadığını sorar ve varsa, arabirim işaretçisini bu bağlantı noktasına döndürür IConnectionPoint .

Şunlara uygulanır