Freigeben über


SPServiceContext.Inequality-Operator

Bestimmt, ob die beiden angegebenen SPServiceContext -Objekte verschiedene Werte haben.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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
)

Parameter

Rückgabewert

Typ: System.Boolean
true , wenn der Wert von serviceContextA aus dem Wert des serviceContextBist; andernfalls false.

Siehe auch

Referenz

SPServiceContext Klasse

SPServiceContext-Member

Microsoft.SharePoint-Namespace