Düzenle

Aracılığıyla paylaş


NSPortNameServer.GetPort Method

Definition

Overloads

GetPort(String)
GetPort(String, String)

GetPort(String)

[Foundation.Export("portForName:")]
public virtual Foundation.NSPort GetPort (string portName);
abstract member GetPort : string -> Foundation.NSPort
override this.GetPort : string -> Foundation.NSPort

Parameters

portName
String

Returns

Attributes

Applies to

GetPort(String, String)

[Foundation.Export("portForName:host:")]
public virtual Foundation.NSPort GetPort (string portName, string hostName);
abstract member GetPort : string * string -> Foundation.NSPort
override this.GetPort : string * string -> Foundation.NSPort

Parameters

portName
String
hostName
String

Returns

Attributes

Applies to