Participant.Equals Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Equals(Object) |
See if two objects are the same user. |
Equals(Participant, IEqualityComparer<Participant>) |
Determines if the two objects identify the same participant. |
Equals(RealTimeAddress, IEqualityComparer<Participant>) |
Compares the participant to the real-time address. |
Equals(Object)
See if two objects are the same user.
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.
Returns
True if the objects are equal
Applies to
Equals(Participant, IEqualityComparer<Participant>)
Determines if the two objects identify the same participant.
public:
bool Equals(Microsoft::Rtc::Signaling::Participant ^ participant, System::Collections::Generic::IEqualityComparer<Microsoft::Rtc::Signaling::Participant ^> ^ comparer);
public bool Equals (Microsoft.Rtc.Signaling.Participant participant, System.Collections.Generic.IEqualityComparer<Microsoft.Rtc.Signaling.Participant> comparer);
override this.Equals : Microsoft.Rtc.Signaling.Participant * System.Collections.Generic.IEqualityComparer<Microsoft.Rtc.Signaling.Participant> -> bool
Parameters
- participant
- Participant
The participant object to compare to.
- comparer
- IEqualityComparer<Participant>
The comparer to use.
Returns
Returns true if equal; otherwise false.
Applies to
Equals(RealTimeAddress, IEqualityComparer<Participant>)
Compares the participant to the real-time address.
public:
bool Equals(Microsoft::Rtc::Signaling::RealTimeAddress ^ address, System::Collections::Generic::IEqualityComparer<Microsoft::Rtc::Signaling::Participant ^> ^ comparer);
public bool Equals (Microsoft.Rtc.Signaling.RealTimeAddress address, System.Collections.Generic.IEqualityComparer<Microsoft.Rtc.Signaling.Participant> comparer);
override this.Equals : Microsoft.Rtc.Signaling.RealTimeAddress * System.Collections.Generic.IEqualityComparer<Microsoft.Rtc.Signaling.Participant> -> bool
Public Function Equals (address As RealTimeAddress, comparer As IEqualityComparer(Of Participant)) As Boolean
Parameters
- address
- RealTimeAddress
The address to compare to.
- comparer
- IEqualityComparer<Participant>
The comparer to use.
Returns
Returns true when they are equal; otherwise false.