IConnectionPoint 介面

定義

警告

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

提供 OLE DB IConnectionPoint 介面的實作,供從 Visual Basic 6.0 升級的應用程式使用。

public interface class IConnectionPoint
[System.Runtime.InteropServices.Guid("B196B286-BAB4-101A-B69C-00AA00341D07")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IConnectionPoint
[System.Runtime.InteropServices.Guid("B196B286-BAB4-101A-B69C-00AA00341D07")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public interface IConnectionPoint
[<System.Runtime.InteropServices.Guid("B196B286-BAB4-101A-B69C-00AA00341D07")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IConnectionPoint = interface
[<System.Runtime.InteropServices.Guid("B196B286-BAB4-101A-B69C-00AA00341D07")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
type IConnectionPoint = interface
Public Interface IConnectionPoint
屬性

備註

關於新發展,請參見 IConnectionPoint

Note

命名空間中的 Microsoft.VisualBasic.Compatibility.VB6 函式與物件提供給從 Visual Basic 6.0 升級到 Visual Basic 的工具使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。

方法

名稱 Description
Advise(IntPtr, Int32)
已淘汰.

建立連接點與呼叫者匯入物件之間的諮詢連線。

EnumConnections(IEnumConnections)
已淘汰.

建立一個列舉物件,用於透過該連接點的連接進行迭代。

GetConnectionInterface(Guid)
已淘汰.

回傳由此連接點管理的外出介面的 IID。

GetConnectionPointContainer(IConnectionPointContainer)
已淘汰.

取得 IConnectionPointContainer 介面指標指向概念上擁有此連接點的可連接物件。

Unadvise(Int32)
已淘汰.

關閉先前透過該 Advise(IntPtr, Int32) 方法建立的諮詢連結。

適用於