MonobjcMonobjc Documented Class Library
RemovePortForName Method (portName)
NamespacesMonobjc.FoundationNSPortNameServerRemovePortForName(NSString)

Unregisters the port for a given name on the local host.

Original signature is '- (BOOL)removePortForName:(NSString *)portName'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool RemovePortForName(
	NSString portName
)
Public Overridable Function RemovePortForName ( _
	portName As NSString _
) As Boolean
public:
virtual bool RemovePortForName(
	NSString^ portName
)
Parameters
portName (NSString)
The name of the port to unregister.
Return Value
YES if successful, 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)