Participant.Equals Method (Participant, IEqualityComparer<Participant>)
Determines if the two objects identify the same participant.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function Equals ( _
participant As Participant, _
comparer As IEqualityComparer(Of Participant) _
) As Boolean
'Usage
Dim instance As Participant
Dim participant As Participant
Dim comparer As IEqualityComparer(Of Participant)
Dim returnValue As Boolean
returnValue = instance.Equals(participant, _
comparer)
public bool Equals(
Participant participant,
IEqualityComparer<Participant> comparer
)
Parameters
- participant
Type: Microsoft.Rtc.Signaling.Participant
The participant object to compare to.
- comparer
Type: System.Collections.Generic.IEqualityComparer<Participant>
The comparer to use.
Return Value
Type: System.Boolean
Returns true if equal; otherwise false.