MonobjcMonobjc Documented Class Library
MatchesAppleEventCode Method (appleEventCode)
NamespacesMonobjc.FoundationNSScriptClassDescriptionMatchesAppleEventCode(UInt32)

Returns a Boolean value indicating whether a primary or secondary Apple event code in the receiver matches the passed code.

Original signature is '- (BOOL)matchesAppleEventCode:(FourCharCode)appleEventCode'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool MatchesAppleEventCode(
	uint appleEventCode
)
Public Overridable Function MatchesAppleEventCode ( _
	appleEventCode As UInteger _
) As Boolean
public:
virtual bool MatchesAppleEventCode(
	unsigned int appleEventCode
)
Parameters
appleEventCode (UInt32)
An Apple event code to compare against the receiver’s primary or secondary codes.
Return Value
YES if the receiver’s primary four-character Apple event code or any of its secondary codes (its synonyms) matches code; 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)