Creates and returns a set that contains a single given object.
Original signature is '+ (id)setWithObject:(id)object'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSMutableSet SetWithObject( Id object )
Public Shared Function SetWithObject ( _ object As Id _ ) As NSMutableSet
public: static NSMutableSet^ SetWithObject( Id^ object )
Parameters
- object (Id)
- The object to add to the new set. object receives a retain message after being added to the set.
Return Value
A new set that contains a single member, object.
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)