PeerApplication.Equals PeerApplication.Equals PeerApplication.Equals PeerApplication.Equals Method

Definition

Compares the PeerApplication to the specified object.

Overloads

Equals(Object, Object) Equals(Object, Object) Equals(Object, Object) Equals(Object, Object)

Determines whether the specified PeerApplication objects are considered equal.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compares the PeerApplication to the specified Object.

Equals(PeerApplication) Equals(PeerApplication) Equals(PeerApplication) Equals(PeerApplication)

Compares the PeerApplication to the specified PeerApplication instance.

Equals(Object, Object) Equals(Object, Object) Equals(Object, Object) Equals(Object, Object)

Determines whether the specified PeerApplication objects are considered equal.

public:
 static bool Equals(System::Object ^ objA, System::Object ^ objB);
public static bool Equals (object objA, object objB);
static member Equals : obj * obj -> bool
Public Shared Function Equals (objA As Object, objB As Object) As Boolean

Parameters

objA
Object Object Object Object

The first PeerApplication to compare.

objB
Object Object Object Object

The second PeerApplication to compare.

Returns

true if the specified objects have the same globally unique application Id and Description; otherwise, false.

See also

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compares the PeerApplication to the specified 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 Object Object Object

The Object to test for equality.

Returns

true if the PeerApplication is equal to the specified object instance; otherwise, false.

Exceptions

See also

Equals(PeerApplication) Equals(PeerApplication) Equals(PeerApplication) Equals(PeerApplication)

Compares the PeerApplication to the specified PeerApplication instance.

public:
 virtual bool Equals(System::Net::PeerToPeer::Collaboration::PeerApplication ^ other);
public bool Equals (System.Net.PeerToPeer.Collaboration.PeerApplication other);
override this.Equals : System.Net.PeerToPeer.Collaboration.PeerApplication -> bool
Public Function Equals (other As PeerApplication) As Boolean

Parameters

Returns

true if the PeerApplication instance provided has matching data; otherwise, false. This method also returns false if other is null.

Implements

Exceptions

Remarks

No normalizations are performed on the strings prior to comparison. All normalization should have been completed while or before constructing the PeerApplication objects.

See also

Applies to