MonobjcMonobjc Documented Class Library
ContainsObject Method (anObject)
NamespacesMonobjc.FoundationNSSetContainsObject(Id)

Returns a Boolean value that indicates whether a given object is present in the set.

Original signature is '- (BOOL)containsObject:(id)anObject'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool ContainsObject(
	Id anObject
)
Public Overridable Function ContainsObject ( _
	anObject As Id _
) As Boolean
public:
virtual bool ContainsObject(
	Id^ anObject
)
Parameters
anObject (Id)
The object for which to test membership of the set.
Return Value
YES if anObject is present in the set, otherwise NO.
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)