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

Creates and returns an array containing the objects in the argument list.

Original signature is '+ (id)arrayWithObjects:(id)firstObj,...'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSArray ArrayWithObjects(
	Id firstObj,
	params Object[] values
)
Public Shared Function ArrayWithObjects ( _
	firstObj As Id, _
	ParamArray values As Object() _
) As NSArray
public:
static NSArray^ ArrayWithObjects(
	Id^ firstObj, 
	... array<Object^>^ values
)
Parameters
firstObj (Id)
MISSING
values (array<Object>[]()[][])
MISSING
Return Value
An array containing the objects in the argument list.
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)