DnssdServiceInstance.Port 屬性

定義

取得或設定這個 DnssdServiceInstance所使用的埠號碼。

public:
 property unsigned short Port { unsigned short get(); void set(unsigned short value); };
uint16_t Port();

void Port(uint16_t value);
public ushort Port { get; set; }
var uInt16 = dnssdServiceInstance.port;
dnssdServiceInstance.port = uInt16;
Public Property Port As UShort

屬性值

UInt16

unsigned short

uint16_t

此服務實例所使用的埠號碼。

適用於