MonobjcMonobjc Documented Class Library
DescriptorWithBoolean Method (boolean)
NamespacesMonobjc.FoundationNSAppleEventDescriptorDescriptorWithBoolean(Boolean)

Creates a descriptor initialized with type typeBoolean that stores the specified Boolean value.

Original signature is '+ (NSAppleEventDescriptor *)descriptorWithBoolean:(Boolean)boolean'

Available in Mac OS X v10.2 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSAppleEventDescriptor DescriptorWithBoolean(
	bool boolean
)
Public Shared Function DescriptorWithBoolean ( _
	boolean As Boolean _
) As NSAppleEventDescriptor
public:
static NSAppleEventDescriptor^ DescriptorWithBoolean(
	bool boolean
)
Parameters
boolean (Boolean)
The Boolean value to be set in the returned descriptor.
Return Value
A descriptor with the specified Boolean value, or nil if an error occurs.
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)