MonobjcMonobjc Documented Class Library
DescriptorWithEnumCode Method (enumerator)
NamespacesMonobjc.FoundationNSAppleEventDescriptorDescriptorWithEnumCode(UInt32)

Creates a descriptor initialized with type typeEnumerated that stores the specified enumerator data type value.

Original signature is '+ (NSAppleEventDescriptor *)descriptorWithEnumCode:(OSType)enumerator'

Available in Mac OS X v10.2 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSAppleEventDescriptor DescriptorWithEnumCode(
	uint enumerator
)
Public Shared Function DescriptorWithEnumCode ( _
	enumerator As UInteger _
) As NSAppleEventDescriptor
public:
static NSAppleEventDescriptor^ DescriptorWithEnumCode(
	unsigned int enumerator
)
Parameters
enumerator (UInt32)
A type code that identifies the type of enumerated data to be stored in the returned descriptor.
Return Value
A descriptor with the specified enumerator data type 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)