MonobjcMonobjc Documented Class Library
MenuForResultStringOptionsAtLocationInView Method (result, checkedString, options, location, view)
NamespacesMonobjc.AppKitNSSpellCheckerMenuForResultStringOptionsAtLocationInView(NSTextCheckingResult, NSString, NSDictionary, NSPoint, NSView)

Provides a menu containing contextual menu items suitable for certain kinds of detected results.

Original signature is '- (NSMenu *)menuForResult:(NSTextCheckingResult *)result string:(NSString *)checkedString options:(NSDictionary *)options atLocation:(NSPoint)location inView:(NSView *)view'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSMenu MenuForResultStringOptionsAtLocationInView(
	NSTextCheckingResult result,
	NSString checkedString,
	NSDictionary options,
	NSPoint location,
	NSView view
)
Public Overridable Function MenuForResultStringOptionsAtLocationInView ( _
	result As NSTextCheckingResult, _
	checkedString As NSString, _
	options As NSDictionary, _
	location As NSPoint, _
	view As NSView _
) As NSMenu
public:
virtual NSMenu^ MenuForResultStringOptionsAtLocationInView(
	NSTextCheckingResult^ result, 
	NSString^ checkedString, 
	NSDictionary^ options, 
	NSPoint location, 
	NSView^ view
)
Parameters
result (NSTextCheckingResult)
The NSTextCheckingResult instance for the checked string.
checkedString (NSString)
The string that has been checked.
options (NSDictionary)
The options dictionary allows clients to pass in information associated with the document. See “Spell Checking Option Dictionary Keys” for possible key-value pairs.
location (NSPoint)
The location, in the view’s coordinate system, to display the menu.
view (NSView)
The view object over which to display the contextual menu.
Return Value
A menu suitable for displaying as a contextual menu, or adding to another contextual menu as a submenu.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)