MonobjcMonobjc Documented Class Library
RemovePortForMode Method (aPort, mode)
NamespacesMonobjc.FoundationNSRunLoopRemovePortForMode(NSPort, NSString)

Removes a port from the specified input mode of the run loop.

Original signature is '- (void)removePort:(NSPort *)aPort forMode:(NSString *)mode'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void RemovePortForMode(
	NSPort aPort,
	NSString mode
)
Public Overridable Sub RemovePortForMode ( _
	aPort As NSPort, _
	mode As NSString _
)
public:
virtual void RemovePortForMode(
	NSPort^ aPort, 
	NSString^ mode
)
Parameters
aPort (NSPort)
The port to remove from the receiver.
mode (NSString)
The mode from which to remove 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)