Participant.Equals Method (RealTimeAddress, IEqualityComparer<Participant>)
Compares the participant to the real-time address.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function Equals ( _
address As RealTimeAddress, _
comparer As IEqualityComparer(Of Participant) _
) As Boolean
'Usage
Dim instance As Participant
Dim address As RealTimeAddress
Dim comparer As IEqualityComparer(Of Participant)
Dim returnValue As Boolean
returnValue = instance.Equals(address, _
comparer)
public bool Equals(
RealTimeAddress address,
IEqualityComparer<Participant> comparer
)
Parameters
- address
Type: Microsoft.Rtc.Signaling.RealTimeAddress
The address to compare to.
- comparer
Type: System.Collections.Generic.IEqualityComparer<Participant>
The comparer to use.
Return Value
Type: System.Boolean
Returns true when they are equal; otherwise false.