PeerContact.PeerName PeerContact.PeerName PeerContact.PeerName PeerContact.PeerName Property

定義

取得或設定與 PeerName 相關聯的 PeerContactGets or sets the PeerName associated with the PeerContact.

public:
 property System::Net::PeerToPeer::PeerName ^ PeerName { System::Net::PeerToPeer::PeerName ^ get(); };
public System.Net.PeerToPeer.PeerName PeerName { get; }
member this.PeerName : System.Net.PeerToPeer.PeerName
Public ReadOnly Property PeerName As PeerName

屬性值

String,代表 PeerNamePeerContactString which represents the PeerName of the PeerContact. 除非明確指定,否則參考型別 (Reference Type) 的所有屬性預設值都是 nullUnless explicitly specified, the default value for all properties is null for reference types.

例外狀況

備註

通訊錄中的任何兩個連絡人可以具有相同PeerNameNo two contacts in the address book can have the same PeerName.

適用於

另請參閱