Edit

Kongsi melalui


PeerApplication.Equals Method

Definition

Compares the PeerApplication to the specified object.

Overloads

Equals(Object, Object)

Determines whether the specified PeerApplication objects are considered equal.

Equals(Object)

Compares the PeerApplication to the specified Object.

Equals(PeerApplication)

Compares the PeerApplication to the specified PeerApplication instance.

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

The first PeerApplication to compare.

objB
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

Applies to

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

The Object to test for equality.

Returns

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

Exceptions

The Object has been disposed.

See also

Applies to

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

other
PeerApplication

The PeerApplication instance to test for equality.

Returns

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

Implements

Exceptions

This PeerApplication object has been disposed.

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