Gets the System.Windows.Forms.MenuItem that contains the value specified.
- type
- The type of item to use to find the System.Windows.Forms.MenuItem.
- value
- The item to use to find the System.Windows.Forms.MenuItem.
The System.Windows.Forms.MenuItem that matches value; otherwise, null.
To search for a System.Windows.Forms.MenuItem using a handle, pass in the Menu.FindHandle field as the type, and the handle of the System.Windows.Forms.MenuItem you want to find as the value.
To search for a System.Windows.Forms.MenuItem using a shortcut, pass in the Menu.FindShortcut field as the type, and the Shortcut value for the System.Windows.Forms.MenuItem you want to find as the value.