MonobjcMonobjc Documented Class Library
IsOptionalArgumentWithName Method (argumentName)
NamespacesMonobjc.FoundationNSScriptCommandDescriptionIsOptionalArgumentWithName(NSString)

Returns a Boolean value that indicates whether the command argument identified by the specified argument key is an optional argument.

Original signature is '- (BOOL)isOptionalArgumentWithName:(NSString *)argumentName'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool IsOptionalArgumentWithName(
	NSString argumentName
)
Public Overridable Function IsOptionalArgumentWithName ( _
	argumentName As NSString _
) As Boolean
public:
virtual bool IsOptionalArgumentWithName(
	NSString^ argumentName
)
Parameters
argumentName (NSString)
Argument name (used as a key) that identifies the command argument to examine.
Return Value
YES if the specified argument exists and is optional; 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)