Freigeben über


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

Rückgabewert

Typ: System.Boolean
true , wenn der Wert der serviceContextA der Wert der serviceContextBidentisch ist; andernfalls false.

Siehe auch

Referenz

SPServiceContext Klasse

SPServiceContext-Member

Microsoft.SharePoint-Namespace