MonobjcMonobjc Documented Class Library
AddObject Method (anObject)
NamespacesMonobjc.FoundationNSMutableArrayAddObject(Id)

Inserts a given object at the end of the array.

Original signature is '- (void)addObject:(id)anObject'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void AddObject(
	Id anObject
)
Public Overridable Sub AddObject ( _
	anObject As Id _
)
public:
virtual void AddObject(
	Id^ anObject
)
Parameters
anObject (Id)
The object to add to the end of the array's content. This value must not be 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)