NSPortNameServer.GetPort Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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