PeerNameRecord::Comment Property

 

Gets or sets additional information about the PeerNameRecord object.

Namespace:   System.Net.PeerToPeer
Assembly:  System.Net (in System.Net.dll)

public:
property String^ Comment {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The comment associated with the PeerNameRecord object. The default value for this property is null.

Exception Condition
ArgumentException

The comment to set is either larger than 39 Unicode characters or less than one character.

ArgumentNullException

The comment to set is null.

The maximum length of the comment is 39 Unicode characters.

.NET Framework
Available since 3.5
Return to top
Show: