SPItemKey.Inequality Operator (SPItemKey, SPItemKey)
Determines whether the two specified SPItemKey objects are unequal.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Shared Operator <> ( _
lhs As SPItemKey, _
rhs As SPItemKey _
) As Boolean
'Usage
Dim lhs As SPItemKey
Dim rhs As SPItemKey
Dim returnValue As Boolean
returnValue = (lhs <> rhs)
public static bool operator !=(
SPItemKey lhs,
SPItemKey rhs
)
Parameters
lhs
Type: Microsoft.SharePoint.Workflow.SPItemKeyThe first object to compare.
rhs
Type: Microsoft.SharePoint.Workflow.SPItemKeyThe second object to compare.
Return Value
Type: System.Boolean
true if lhs is not equal to the rhs; otherwise, false.
Remarks
The method determines whether lhs is not equal to rhs by calling the Equals(Object) method if both lhs and rhs are not null . If both lhs and rhs are null , this method returns false.