IConnectionPointContainer Interface

Definição

Fornece a definição gerenciada da interface IConnectionPointContainer.Provides the managed definition of the IConnectionPointContainer interface.

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

Comentários

Para obter mais informações, consulte a documentação existente para IConnectionPointContainer na biblioteca MSDN.For more information, see the existing documentation for IConnectionPointContainer in MSDN library.

O Common Language Runtime gera uma exceção quando um método COM no código nativo retorna um HRESULT.The common language runtime throws an exception when a COM method in native code returns an HRESULT. Para obter mais informações, consulte como mapear HRESULTs e exceções.For more information, see How to: Map HRESULTs and Exceptions.

Métodos

EnumConnectionPoints(IEnumConnectionPoints)

Cria um enumerador de todos os pontos de conexão com suporte no objeto conectável, um ponto de conexão por IID.Creates an enumerator of all the connection points supported in the connectable object, one connection point per IID.

FindConnectionPoint(Guid, IConnectionPoint)

Pergunta ao o objeto conectável se ele tem um ponto de conexão para um IID específico e, nesse caso, retorna o ponteiro de interface IConnectionPoint desse ponto de conexão.Asks the connectable object if it has a connection point for a particular IID, and if so, returns the IConnectionPoint interface pointer to that connection point.

Aplica-se a