Adds the receiver to the list of ports monitored by a given run loop for the given input mode.
Original signature is '- (void)addConnection:(NSConnection *)connection toRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void AddConnectionToRunLoopForMode( NSConnection connection, NSRunLoop runLoop, NSString mode )
Public Overridable Sub AddConnectionToRunLoopForMode ( _ connection As NSConnection, _ runLoop As NSRunLoop, _ mode As NSString _ )
public: virtual void AddConnectionToRunLoopForMode( NSConnection^ connection, NSRunLoop^ runLoop, NSString^ mode )
Parameters
- connection (NSConnection)
- The connection object that invoked this method.
- runLoop (NSRunLoop)
- The run loop to which to add the receiver.
- mode (NSString)
- The run loop mode in which to add the receiver.
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)