Idioma

InfoPathEventHandlerAttribute Classe

Definição

Aplique esse atributo para definir um manipulador de eventos no código do formulário.

public ref class InfoPathEventHandlerAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Method)]
public sealed class InfoPathEventHandlerAttribute : Attribute
type InfoPathEventHandlerAttribute = class
    inherit Attribute
Public NotInheritable Class InfoPathEventHandlerAttribute
Inherits Attribute
Herança
InfoPathEventHandlerAttribute
Atributos

Comentários

Importante: para evitar erros na especificação do atributo InfoPathEventHandler para um manipulador de eventos, você só deve usar comandos de interface do usuário do InfoPath para adicionar o stub para o código do manipulador de eventos. Para obter mais informações, consulte Como adicionar um manipulador de eventos usando o modelo de objeto InfoPath 2003.

Construtores

Nome Description
InfoPathEventHandlerAttribute()

This member is reserved for internal use and is not intended to be used directly from your code.

Propriedades

Nome Description
DataObject

Obtém ou define o nome do adaptador de dados que é a fonte do evento em um InfoPathEventHandlerAttribute atributo aplicado a um manipulador de eventos para um OnAfterChange evento.

EventType

Obtém ou define o tipo de evento especificado em um InfoPathEventHandlerAttribute atributo como uma InfoPathEventType enumeração.

MatchPath

Obtém ou define a expressão XPath que especifica a origem do evento (quando aplicável ao evento) em um InfoPathEventHandlerAttribute atributo.

Aplica-se a