SPServiceContext.Inequality Operator
Determines whether the two specified SPServiceContext objects have different values.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Shared Operator <> ( _
serviceContextA As SPServiceContext, _
serviceContextB As SPServiceContext _
) As Boolean
'Usage
Dim serviceContextA As SPServiceContext
Dim serviceContextB As SPServiceContext
Dim returnValue As Boolean
returnValue = (serviceContextA <> serviceContextB)
public static bool operator !=(
SPServiceContext serviceContextA,
SPServiceContext serviceContextB
)
Parameters
serviceContextA
Type: Microsoft.SharePoint.SPServiceContextA SPServiceContext object.
serviceContextB
Type: Microsoft.SharePoint.SPServiceContextA SPServiceContext object.
Return Value
Type: System.Boolean
true if the value of serviceContextA is different from the value of serviceContextB; otherwise, false.