Adds a port as an input source to the specified mode of the run loop.
Original signature is '- (void)addPort:(NSPort *)aPort forMode:(NSString *)mode'
Available in Mac OS X v10.0 and later.

Declaration Syntax
Public Overridable Sub AddPortForMode ( _
aPort As NSPort, _
mode As NSString _
)

Parameters
- aPort (NSPort)
- The port to add to the receiver.
- mode (NSString)
- The mode in which to add aPort. You may specify a custom mode or use one of the modes listed in “Run Loop Modes.”

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)