NSPortNameServer.GetPort メソッド

定義

オーバーロード

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

パラメーター

portName
String

戻り値

属性

適用対象

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

パラメーター

portName
String
hostName
String

戻り値

属性

適用対象