Bagikan melalui


IConnectionPointContainer Antarmuka

Definisi

Perhatian

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

Menyediakan implementasi antarmuka OLE DB IConnectionPointContainer untuk digunakan oleh aplikasi yang ditingkatkan dari Visual Basic 6.0.

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

Keterangan

Untuk pengembangan baru, lihat IConnectionPointContainer.

Catatan

Fungsi dan objek di Microsoft.VisualBasic.Compatibility.VB6 namespace disediakan untuk digunakan oleh alat untuk meningkatkan dari Visual Basic 6.0 ke Visual Basic 2008. Dalam kebanyakan kasus, fungsi dan objek ini menduplikasi fungsionalitas yang dapat Anda temukan di namespace layanan lain di .NET Framework. Mereka hanya diperlukan ketika model kode Visual Basic 6.0 berbeda secara signifikan dari implementasi .NET Framework.

Metode

EnumConnectionPoints(IEnumConnectionPoints)
Kedaluwarsa.

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

FindConnectionPoint(Guid, IConnectionPoint)
Kedaluwarsa.

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

Berlaku untuk