MonobjcMonobjc Documented Class Library
ConformsToProtocol Method (aProtocol)

Returns a Boolean value that indicates whether the receiver conforms to a given protocol. (required)

Original signature is '- (BOOL)conformsToProtocol:(Protocol *)aProtocol'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool ConformsToProtocol(
	IntPtr aProtocol
Public Overridable Function ConformsToProtocol ( _
	aProtocol As IntPtr _
) As Boolean
virtual bool ConformsToProtocol(
	IntPtr aProtocol
aProtocol (IntPtr)
A protocol object that represents a particular protocol.
Return Value
YES if the receiver conforms to aProtocol, 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)