MonobjcMonobjc Documented Class Library
KeyWithAppleEventCode Method (appleEventCode)
NamespacesMonobjc.FoundationNSScriptClassDescriptionKeyWithAppleEventCode(UInt32)

Given an Apple event code that identifies a property or element class, returns the key for the corresponding attribute, one-to-one relationship, or one-to-many relationship.

Original signature is '- (NSString *)keyWithAppleEventCode:(FourCharCode)appleEventCode'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSString KeyWithAppleEventCode(
	uint appleEventCode
)
Public Overridable Function KeyWithAppleEventCode ( _
	appleEventCode As UInteger _
) As NSString
public:
virtual NSString^ KeyWithAppleEventCode(
	unsigned int appleEventCode
)
Parameters
appleEventCode (UInt32)
An Apple event code that identifies a property or element class.
Return Value
The key that corresponds to the property or element class identified by appleEventCode in the receiver or, if none exists, in a class description in the receiver’s superclasses. The four-character Apple event code associated with the attribute or relationship identified by key Returns 0 if no such attribute or relationship is found. Returns nil if it cannot find any such attribute or relationship.
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)