PageParserFilter.ProcessEventHookup(String, String, String) Método
Definição
Retorna um valor que indica se os manipuladores de eventos devem continuar sendo processados pelo filtro do analisador.Returns a value that indicates whether event handlers should be processed further by the parser filter.
public:
virtual bool ProcessEventHookup(System::String ^ controlId, System::String ^ eventName, System::String ^ handlerName);
public virtual bool ProcessEventHookup (string controlId, string eventName, string handlerName);
abstract member ProcessEventHookup : string * string * string -> bool
override this.ProcessEventHookup : string * string * string -> bool
Public Overridable Function ProcessEventHookup (controlId As String, eventName As String, handlerName As String) As Boolean
Parâmetros
- controlId
- String
A ID do controle cujo evento tem o manipulador de eventos para processar.The ID of the control whose event has the event handler to process.
- eventName
- String
O nome do evento do controlId para filtragem.The event name of the controlId to filter on.
- handlerName
- String
O manipulador do nome de eventName no qual filtrar.The handler of the eventName name to filter on.
Retornos
true se o analisador processar manipuladores de eventos; caso contrário, false.true if the parser processes event handlers; otherwise, false. O padrão é false.The default is false.
Comentários
Você pode substituir o ProcessEventHookup método para permitir que o analisador processe as conexões de evento ao implementar uma PageParserFilter classe personalizada.You can override the ProcessEventHookup method to allow the parser to process event hookups when implementing a custom PageParserFilter class. Um exemplo de um manipulador de eventos é fornecer um manipulador para o Click evento do Button controle.An example of an event handler is providing a handler for the Click event of the Button control.
ProcessEventHookup é introduzido na versão .NET Framework 3,5.ProcessEventHookup is introduced in the .NET Framework version 3.5. Para saber mais, confira Versões e dependências.For more information, see Versions and Dependencies.