MonobjcMonobjc Documented Class Library
InitWithObjects Method (firstObj, values)
NamespacesMonobjc.FoundationNSArrayInitWithObjects(Id, array<Object>[]()[][])

Initializes a newly allocated array by placing in it the objects in the argument list.

Original signature is '- (id)initWithObjects:(id)firstObj,...'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithObjects(
	Id firstObj,
	params Object[] values
)
Public Overridable Function InitWithObjects ( _
	firstObj As Id, _
	ParamArray values As Object() _
) As Id
public:
virtual Id^ InitWithObjects(
	Id^ firstObj, 
	... array<Object^>^ values
)
Parameters
firstObj (Id)
MISSING
values (array<Object>[]()[][])
MISSING
Return Value
An array initialized to include the objects in the argument list. The returned object might be different than the original receiver.
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)