Creates and returns an array containing a given object.
Original signature is '+ (id)arrayWithObject:(id)anObject'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSMutableArray ArrayWithObject( Id anObject )
Public Shared Function ArrayWithObject ( _ anObject As Id _ ) As NSMutableArray
public: static NSMutableArray^ ArrayWithObject( Id^ anObject )
Parameters
- anObject (Id)
- An object.
Return Value
An array containing the single element anObject.
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)