MonobjcMonobjc Documented Class Library
SupportsCommand Method (commandDescription)
NamespacesMonobjc.FoundationNSScriptClassDescriptionSupportsCommand(NSScriptCommandDescription)

Returns a Boolean value indicating whether the receiver or any superclass supports the specified command.

Original signature is '- (BOOL)supportsCommand:(NSScriptCommandDescription *)commandDescription'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool SupportsCommand(
	NSScriptCommandDescription commandDescription
)
Public Overridable Function SupportsCommand ( _
	commandDescription As NSScriptCommandDescription _
) As Boolean
public:
virtual bool SupportsCommand(
	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
YES if an the receiver or the instance of NSScriptClassDescription of any superclass of the receiver’s class lists the command described by commandDesc among its supported commands; otherwise, NO.
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)