Pair<T1, T2>.Inequality Operator
Determines whether the values and the types of values in this pair and those in a supplied pair are not 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
p1
Type: Microsoft.BusinessData.Infrastructure.Pair<T1, T2>The first pair to compare.
p2
Type: Microsoft.BusinessData.Infrastructure.Pair<T1, T2>The second pair to compare.
Return Value
Type: System.Boolean
true if the values and the types of values in this pair and the supplied pair are not the same; otherwise, false.