Partilhar via


SPChangeTokenCollection.Inequality Operator

Returns a Boolean value that indicates whether the two specified SPChangeTokenCollection objects are unequal.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Shared Operator <> ( _
    changeTokenColl1 As SPChangeTokenCollection, _
    changeTokenColl2 As SPChangeTokenCollection _
) As Boolean
'Usage
Dim changeTokenColl1 As SPChangeTokenCollection
Dim changeTokenColl2 As SPChangeTokenCollection
Dim returnValue As Boolean

returnValue = (changeTokenColl1 <> changeTokenColl2)
public static bool operator !=(
    SPChangeTokenCollection changeTokenColl1,
    SPChangeTokenCollection changeTokenColl2
)

Parameters

Return Value

Type: System.Boolean
true if the two objects are unequal; otherwise, false.

Remarks

This method implements the inequality operator. To call the method, simply use the inequality operator with two SPChangeTokenCollection objects.

See Also

Reference

SPChangeTokenCollection Class

SPChangeTokenCollection Members

Microsoft.SharePoint Namespace