Breyta

Deila með


PageParserFilter.ProcessEventHookup(String, String, String) Method

Definition

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

Parameters

controlId
String

The ID of the control whose event has the event handler to process.

eventName
String

The event name of the controlId to filter on.

handlerName
String

The handler of the eventName name to filter on.

Returns

true if the parser processes event handlers; otherwise, false. The default is false.

Remarks

You can override the ProcessEventHookup method to allow the parser to process event hookups when implementing a custom PageParserFilter class. An example of an event handler is providing a handler for the Click event of the Button control.

ProcessEventHookup is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to