Bewerken

Share via


IConnectionPoint.GetConnectionPointContainer Method

Definition

Retrieves the IConnectionPointContainer interface pointer to the connectable object that conceptually owns this connection point.

public:
 void GetConnectionPointContainer([Runtime::InteropServices::Out] Microsoft::VisualBasic::Compatibility::VB6::IConnectionPointContainer ^ % cpc);
public void GetConnectionPointContainer (out Microsoft.VisualBasic.Compatibility.VB6.IConnectionPointContainer cpc);
abstract member GetConnectionPointContainer : IConnectionPointContainer -> unit
Public Sub GetConnectionPointContainer (ByRef cpc As IConnectionPointContainer)

Parameters

cpc
IConnectionPointContainer

When this parameter returns, contains the connectable object's IConnectionPointContainer interface. This parameter is passed uninitialized.

Remarks

For new development, see IConnectionPoint.

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Applies to