MonobjcMonobjc Documented Class Library
IsMemberOfClass Method (aClass)

Returns a Boolean value that indicates whether the receiver is an instance of a given class. (required)

Original signature is '- (BOOL)isMemberOfClass:(Class)aClass'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool IsMemberOfClass(
	Class aClass
Public Overridable Function IsMemberOfClass ( _
	aClass As Class _
) As Boolean
virtual bool IsMemberOfClass(
	Class^ aClass
aClass (Class)
A class object representing the Objective-C class to be tested.
Return Value
YES if the receiver is an instance of aClass, 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)