PeerEndPoint.Name 屬性

定義

取得或設定 String,代表 PeerEndPoint 執行個體的顯示名稱。

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

屬性值

代表 String 之顯示名稱的 PeerEndPoint

備註

為了避免損毀實例狀態,如果從 PeerNearMePeerContact 取得實例,呼叫端就不應該變更 EndPoint 值。

適用於

另請參閱