MonobjcMonobjc Documented Class Library
AppleEventCodeForKey Method (key)
NamespacesMonobjc.FoundationNSScriptClassDescriptionAppleEventCodeForKey(NSString)

Returns the Apple event code for the specified attribute or relationship in the receiver.

Original signature is '- (FourCharCode)appleEventCodeForKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual uint AppleEventCodeForKey(
	NSString key
)
Public Overridable Function AppleEventCodeForKey ( _
	key As NSString _
) As UInteger
public:
virtual unsigned int AppleEventCodeForKey(
	NSString^ key
)
Parameters
key (NSString)
The identifying key for an attribute or relationship of the receiver.
Return Value
The four-character Apple event code associated with the attribute or relationship identified by key in the receiver or, if none exists, in the class description for the receiver’s superclass. Returns 0 if no such attribute or relationship is found.
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)