NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MenuItem.AddOnSelect

Adds an event handler for the event.

[Visual Basic]
Public Sub AddOnSelect( _
   ByVal handler As EventHandler _
)
[C#]
public void AddOnSelect(
   EventHandler handler
);
[C++]
public: void AddOnSelect(
   EventHandler* handler
);
[JScript]
public function AddOnSelect(
   handler : EventHandler
);

Parameters

handler
A EventHandler delegate that represents the method that will handle the System.Select event.

See Also

MenuItem Class | MenuItem Members | System.WinForms Namespace | RemoveOnSelect