共用方式為


NSHost.Explicit 運算子

定義

多載

Explicit(NSHost to IPAddress)
Explicit(NSHost to IPHostEntry)
Explicit(IPAddress to NSHost)
Explicit(IPHostEntry to NSHost)

Explicit(NSHost to IPAddress)

public static explicit operator System.Net.IPAddress (Foundation.NSHost host);
static member op_Explicit : Foundation.NSHost -> System.Net.IPAddress

參數

host
NSHost

傳回

適用於

Explicit(NSHost to IPHostEntry)

public static explicit operator System.Net.IPHostEntry (Foundation.NSHost host);
static member op_Explicit : Foundation.NSHost -> System.Net.IPHostEntry

參數

host
NSHost

傳回

適用於

Explicit(IPAddress to NSHost)

public static explicit operator Foundation.NSHost (System.Net.IPAddress address);
static member op_Explicit : System.Net.IPAddress -> Foundation.NSHost

參數

address
IPAddress

傳回

適用於

Explicit(IPHostEntry to NSHost)

public static explicit operator Foundation.NSHost (System.Net.IPHostEntry hostEntry);
static member op_Explicit : System.Net.IPHostEntry -> Foundation.NSHost

參數

hostEntry
IPHostEntry

傳回

適用於