Partager via


NSPortNameServer.GetPort Méthode

Définition

Surcharges

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

Paramètres

portName
String

Retours

Attributs

S’applique à

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

Paramètres

portName
String
hostName
String

Retours

Attributs

S’applique à