MonobjcMonobjc Documented Class Library
SelectorForCommand Method (commandDescription)
NamespacesMonobjc.FoundationNSScriptClassDescriptionSelectorForCommand(NSScriptCommandDescription)

Returns the selector associated with the receiver for the specified command description.

Original signature is '- (SEL)selectorForCommand:(NSScriptCommandDescription *)commandDescription'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual IntPtr SelectorForCommand(
	NSScriptCommandDescription commandDescription
)
Public Overridable Function SelectorForCommand ( _
	commandDescription As NSScriptCommandDescription _
) As IntPtr
public:
virtual IntPtr SelectorForCommand(
	NSScriptCommandDescription^ commandDescription
)
Parameters
commandDescription (NSScriptCommandDescription)
A description for a script command, such as duplicate, make, or move. Encapsulates the scriptability information for that command, such as its Objective-C selector, its argument names and types, and its return type (if any).
Return Value
The selector from the receiver for the command specified by commandDescription. Searches in the receiver first, then in any superclass. Returns NULL if no matching selector is found.
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.Foundation (Module: Monobjc.Foundation)