PropertyGeneratedEventHandler Delegate

Definition

Represents the method that will handle the OnPropertyGenerated event.

public delegate void PropertyGeneratedEventHandler(System::Object ^ sender, PropertyGeneratedEventArgs ^ e);
public delegate void PropertyGeneratedEventHandler(object sender, PropertyGeneratedEventArgs e);
type PropertyGeneratedEventHandler = delegate of obj * PropertyGeneratedEventArgs -> unit
Public Delegate Sub PropertyGeneratedEventHandler(sender As Object, e As PropertyGeneratedEventArgs)

Parameters

sender
Object

The source of the event.

e
PropertyGeneratedEventArgs

The data for the event.

Remarks

When you create a PropertyGeneratedEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to