SPServiceContext.Equality-Operator
Bestimmt, ob die beiden angegebenen SPServiceContext Objekte denselben Wert 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
serviceContextA
Typ: Microsoft.SharePoint.SPServiceContextEin SPServiceContext -Objekt.
serviceContextB
Typ: Microsoft.SharePoint.SPServiceContextEin SPServiceContext -Objekt.
Rückgabewert
Typ: System.Boolean
true , wenn der Wert der serviceContextA der Wert der serviceContextBidentisch ist; andernfalls false.