Bewerken

Share via


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:
 virtual bool Equals(System::Net::PeerToPeer::Cloud ^ other);
public bool Equals (System.Net.PeerToPeer.Cloud other);
override this.Equals : System.Net.PeerToPeer.Cloud -> bool
Public Function Equals (other As Cloud) As Boolean

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

Equals(Object)

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

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

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