BarCommandLinkEventHandler Delegate
Represents the method that will handle the BarCommandLink or BarCommand events.
public delegate void BarCommandLinkEventHandler(object sender, BarCommandLinkEventArgs e);
Parameters
Name | Type | Description |
---|---|---|
sender | Object | Sender of the event. |
e | BarCommandLinkEventArgs | A BarCommandLinkEventArgs containing event data. |
Remarks
When you create a BarCommandLinkEventHandler
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.
Constructors
BarCommandLinkEventHandler(Object, IntPtr)
public BarCommandLinkEventHandler(object object, IntPtr method)
Parameter | Type | Description |
---|---|---|
object | Object | |
method | IntPtr |
Methods
BeginInvoke(Object, BarCommandLinkEventArgs, AsyncCallback, Object)
public virtual IAsyncResult BeginInvoke(object sender, BarCommandLinkEventArgs e, AsyncCallback callback, object object)
Parameter | Type | Description |
---|---|---|
sender | Object | |
e | BarCommandLinkEventArgs | |
callback | AsyncCallback | |
object | Object |
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameter | Type | Description |
---|---|---|
result | IAsyncResult |
Invoke(Object, BarCommandLinkEventArgs)
public virtual void Invoke(object sender, BarCommandLinkEventArgs e)
Parameter | Type | Description |
---|---|---|
sender | Object | |
e | BarCommandLinkEventArgs |