MonobjcMonobjc Documented Class Library
InitWithTargetProtocol Method (anObject, aProtocol)
NamespacesMonobjc.FoundationNSProtocolCheckerInitWithTargetProtocol(NSObject, IntPtr)

Initializes a newly allocated NSProtocolChecker instance that will forward any messages in aProtocol to anObject, the protocol checker’s target.

Original signature is '- (id)initWithTarget:(NSObject *)anObject protocol:(Protocol *)aProtocol'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithTargetProtocol(
	NSObject anObject,
	IntPtr aProtocol
)
Public Overridable Function InitWithTargetProtocol ( _
	anObject As NSObject, _
	aProtocol As IntPtr _
) As Id
public:
virtual Id^ InitWithTargetProtocol(
	NSObject^ anObject, 
	IntPtr aProtocol
)
Parameters
anObject (NSObject)
MISSING
aProtocol (IntPtr)
MISSING
Return Value

[Missing <returns> documentation for "M:Monobjc.Foundation.NSProtocolChecker.InitWithTargetProtocol(Monobjc.Foundation.NSObject,System.IntPtr)"]

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)