Compartilhar via


NSPortNameServer.GetPort Método

Definição

Sobrecargas

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

Parâmetros

portName
String

Retornos

Atributos

Aplica-se a

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

Parâmetros

portName
String
hostName
String

Retornos

Atributos

Aplica-se a