NameChangedEventArgs.PeerContact 属性

定义

获取与 PeerContact 关联的 PeerEndPointGets the PeerContact associated with the PeerEndPoint.

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

属性值

PeerContact 关联的 PeerEndPointThe PeerContact associated with the PeerEndPoint.

注解

除非指定, 否则此属性的默认值为null.Unless specified, the default value for this property is null.

如果与联系人不关联, 则此属性返回nullPeerEndPointIf the PeerEndPoint is not associated with a contact, this property returns null.

适用于

另请参阅