MonobjcMonobjc Documented Class Library
ContextHelpForKey Method (__target, key)
NamespacesMonobjc.AppKitNSBundle_AppKitAdditionsContextHelpForKey(NSBundle, NSString)

Returns the context-sensitive help for the specified key from the bundle's help file.

Original signature is '- (NSAttributedString *)contextHelpForKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSAttributedString ContextHelpForKey(
	this NSBundle __target,
	NSString key
)
<ExtensionAttribute> _
Public Shared Function ContextHelpForKey ( _
	__target As NSBundle, _
	key As NSString _
) As NSAttributedString
[ExtensionAttribute]
public:
static NSAttributedString^ ContextHelpForKey(
	NSBundle^ __target, 
	NSString^ key
)
Parameters
__target (NSBundle)
The target instance.
key (NSString)
A key in your application's Help.plist file that identifies the context-sensitive help to return.
Return Value
The help string or nil if the application does not have a Help.plist file or the file does not contain an entry for the specified key.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type NSBundle. When you use instance method syntax to call this method, omit the first parameter.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

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