IConnectionPointContainer Gränssnitt

Definition

Varning

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

Tillhandahåller en implementering av OLE DB IConnectionPointContainer-gränssnittet för användning av program som uppgraderats från 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
Attribut

Kommentarer

Ny utveckling finns i IConnectionPointContainer.

Note

Funktioner och objekt i namnområdet Microsoft.VisualBasic.Compatibility.VB6 tillhandahålls för användning av verktygen för uppgradering från Visual Basic 6.0 till Visual Basic 2008. I de flesta fall duplicerar dessa funktioner och objekt funktioner som du kan hitta i andra namnområden i .NET Framework. De är bara nödvändiga när kodmodellen Visual Basic 6.0 skiljer sig avsevärt från implementeringen av .NET Framework.

Metoder

Name Description
EnumConnectionPoints(IEnumConnectionPoints)
Föråldrad.

Skapar en uppräknare för alla anslutningspunkter som stöds i det anslutningsbara objektet, en anslutningspunkt per IID.

FindConnectionPoint(Guid, IConnectionPoint)
Föråldrad.

Frågar det anslutningsbara objektet om det har en anslutningspunkt för ett visst IID och returnerar i så fall gränssnittspekaren IConnectionPoint till anslutningspunkten.

Gäller för