Share via


Pair<T1, T2>.Equality Operator

Determines whether the values and the types of values in this pair and those in a supplied pair are the same.

Namespace:  Microsoft.BusinessData.Infrastructure
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    p1 As Pair(Of T1, T2), _
    p2 As Pair(Of T1, T2) _
) As Boolean
'Usage
Dim p1 As Pair(Of T1, T2)
Dim p2 As Pair(Of T1, T2)
Dim returnValue As Boolean

returnValue = (p1 = p2)
public static bool operator ==(
    Pair<T1, T2> p1,
    Pair<T1, T2> p2
)

Parameters

Return Value

Type: System.Boolean
true if the values and the types of values in this pair and the supplied pair are the same; otherwise, false.

See Also

Reference

Pair<T1, T2> Structure

Pair<T1, T2> Members

Microsoft.BusinessData.Infrastructure Namespace