IConnectionPoint インターフェイス

定義

注意事項

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

Visual Basic 6.0 からアップグレードされたアプリケーションで使用する OLE DB IConnectionPoint インターフェイスの実装を提供します。

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 の実装と大きく異なる場合にのみ必要です。

メソッド

名前 説明
Advise(IntPtr, Int32)
古い.

接続ポイントと呼び出し元のシンク オブジェクトの間にアドバイザリ接続を確立します。

EnumConnections(IEnumConnections)
古い.

この接続ポイントに存在する接続を反復処理するための列挙子オブジェクトを作成します。

GetConnectionInterface(Guid)
古い.

この接続ポイントによって管理される送信インターフェイスの IID を返します。

GetConnectionPointContainer(IConnectionPointContainer)
古い.

この接続ポイントを概念的に所有する接続可能なオブジェクトへの IConnectionPointContainer インターフェイス ポインターを取得します。

Unadvise(Int32)
古い.

Advise(IntPtr, Int32) メソッドを使用して以前に確立されたアドバイザリ接続を閉じます。

適用対象