DnssdServiceInstance.Weight プロパティ

定義

RFC 2782 で定義されているように、このサービス インスタンスに割り当てられた重み値を取得または設定します。 クライアントは 、[重み] の値を使用して、同じ [優先度] 値を持つサーバーを選択します。

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

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

プロパティ値

UInt16

unsigned short

uint16_t

このサービス インスタンスの重み値。 クライアントがこの値を使用する方法の詳細については、 RFC 2782 を参照してください。

適用対象