MonobjcMonobjc Documented Class Library
ServicePortWithName Method (name)
NamespacesMonobjc.FoundationNSMachBootstrapServerServicePortWithName(NSString)

Looks up and returns the port for the vended service that is registered under the specified name.

Original signature is '- (NSPort *)servicePortWithName:(NSString *)name'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSPort ServicePortWithName(
	NSString name
)
Public Overridable Function ServicePortWithName ( _
	name As NSString _
) As NSPort
public:
virtual NSPort^ ServicePortWithName(
	NSString^ name
)
Parameters
name (NSString)
The name of the vended service.
Return Value
The port associated with name. Returns nil if no such port exists.
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)