MonobjcMonobjc Documented Class Library
NSScriptCommandDescription Constructor (suiteName, commandName, commandDeclaration)
NamespacesMonobjc.FoundationNSScriptCommandDescriptionNSScriptCommandDescription(NSString, NSString, NSDictionary)

Initializes and returns a newly allocated instance of NSScriptCommandDescription.

Original signature is '- (id)initWithSuiteName:(NSString *)suiteName commandName:(NSString *)commandName dictionary:(NSDictionary *)commandDeclaration'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSScriptCommandDescription(
	NSString suiteName,
	NSString commandName,
	NSDictionary commandDeclaration
)
Public Sub New ( _
	suiteName As NSString, _
	commandName As NSString, _
	commandDeclaration As NSDictionary _
)
public:
NSScriptCommandDescription(
	NSString^ suiteName, 
	NSString^ commandName, 
	NSDictionary^ commandDeclaration
)
Parameters
suiteName (NSString)
The name of the suite (in the application’s scriptability information) that the command belongs to. For example, "AppName Suite".
commandName (NSString)
The name of the script command that this instance describes.
commandDeclaration (NSDictionary)
A command declaration dictionary of the sort that is valid in script suite property list files. This dictionary provides information about the command such as its argument names and types and return type (if any).
Return Value
The initialized command description instance. Returns nil if the event constant or class name for the command description is missing; also returns nil if the return type or argument values are of the wrong type.
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)