Returns menu items to display in an element's contextual menu.
Original signature is '- (NSArray *)webView:(WebView *)sender contextMenuItemsForElement:(NSDictionary *)element defaultMenuItems:(NSArray *)defaultMenuItems'
Available in Mac OS X v10.2 with Safari 1.0 and later.

C# | Visual Basic | Visual C++ |
NSArray WebViewContextMenuItemsForElementDefaultMenuItems( WebView sender, NSDictionary element, NSArray defaultMenuItems )
Function WebViewContextMenuItemsForElementDefaultMenuItems ( _ sender As WebView, _ element As NSDictionary, _ defaultMenuItems As NSArray _ ) As NSArray
NSArray^ WebViewContextMenuItemsForElementDefaultMenuItems( WebView^ sender, NSDictionary^ element, NSArray^ defaultMenuItems )

- sender (WebView)
- The web view that sent the message.
- element (NSDictionary)
- A dictionary that describes the element that was clicked. See “Constants” in WebView Class Reference for information about the key-value pairs in this dictionary.
- defaultMenuItems (NSArray)
- The menu items included by default in the element’s contextual menu. See “Menu Item Tags” for values you can use to differentiate among specific menu items.

An array of menu items to display in the element’s contextual menu.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)