Cloud.Equals Method

Definition

Determines whether the content of this Cloud object is equivalent to the content of another object.

Overloads

Equals(Cloud)

Performs a case-sensitive comparison between two cloud objects.

Equals(Object)

Determines whether the content of this peer Cloud is equivalent to the content of a System object.

Equals(Cloud)

Performs a case-sensitive comparison between two cloud objects.

public bool Equals (System.Net.PeerToPeer.Cloud other);

Parameters

other
Cloud

The cloud to compare with this Cloud.

Returns

true if the Cloud specified identifies the same resource as the current one, otherwise false.

Implements

Remarks

No normalizations are performed on the strings prior to comparison. All normalization should have been completed at the time the Cloud objects were constructed.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Equals(Object)

Determines whether the content of this peer Cloud is equivalent to the content of a System object.

public override bool Equals (object obj);

Parameters

obj
Object

The Object to compare with this Cloud.

Returns

true if the PeerName and the comparison object contain the same information; otherwise false.

Remarks

This method inherits the default signature and behavior from Object.

Other objects that may be compared with System.Net.PeerToPeer clouds include PeopleNearMe clouds and peer meshes available via the Windows SDK Networking Services.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1