MonobjcMonobjc Documented Class Library
FirstObjectCommonWithArray Method (otherArray)
NamespacesMonobjc.FoundationNSArrayFirstObjectCommonWithArray(NSArray)

Returns the first object contained in the receiving array that’s equal to an object in another given array.

Original signature is '- (id)firstObjectCommonWithArray:(NSArray *)otherArray'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id FirstObjectCommonWithArray(
	NSArray otherArray
)
Public Overridable Function FirstObjectCommonWithArray ( _
	otherArray As NSArray _
) As Id
public:
virtual Id^ FirstObjectCommonWithArray(
	NSArray^ otherArray
)
Parameters
otherArray (NSArray)
An array.
Return Value
Returns the first object contained in the receiving array that’s equal to an object in otherArray. If no such object is found, returns nil.
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)