Returns an a script command object initialized from the passed command description.
Original signature is '- (id)initWithCommandDescription:(NSScriptCommandDescription *)commandDesc'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public NSQuitCommand( NSScriptCommandDescription commandDesc )
Public Sub New ( _ commandDesc As NSScriptCommandDescription _ )
public: NSQuitCommand( NSScriptCommandDescription^ commandDesc )
Parameters
- commandDesc (NSScriptCommandDescription)
- A command description for the command to be created.
Return Value
A newly initialized instance of NSScriptCommand or a subclass.
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)