Compartilhar via


FormControl.SetNotifyHostEventHandler(INotifyHostEventHandler) Método

Definição

Define o manipulador de eventos no aplicativo host para lidar com o evento que ocorre quando o NotifyHost(String) método do XDocument objeto é usado para notificar o aplicativo host.

public:
 virtual void SetNotifyHostEventHandler(Microsoft::Office::Interop::InfoPath::INotifyHostEventHandler ^ handler);
public virtual void SetNotifyHostEventHandler (Microsoft.Office.Interop.InfoPath.INotifyHostEventHandler handler);
abstract member SetNotifyHostEventHandler : Microsoft.Office.Interop.InfoPath.INotifyHostEventHandler -> unit
override this.SetNotifyHostEventHandler : Microsoft.Office.Interop.InfoPath.INotifyHostEventHandler -> unit
Public Overridable Sub SetNotifyHostEventHandler (handler As INotifyHostEventHandler)

Parâmetros

handler
INotifyHostEventHandler

A interface que deve ser implementada no aplicativo personalizado para manipular o evento do FormControl objeto.

Comentários

Para obter mais informações sobre o objeto FormControl , consulte Hospedagem do Ambiente de Edição de Formulários do InfoPath em um aplicativo de formulário personalizado do Windows

Aplica-se a