Share via


SPServiceContext.Equals method (SPServiceContext)

Determines whether the specified object is equal to the current SPServiceContext.

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

Syntax

'Declaration
Public Function Equals ( _
    serviceContext As SPServiceContext _
) As Boolean
'Usage
Dim instance As SPServiceContext
Dim serviceContext As SPServiceContext
Dim returnValue As Boolean

returnValue = instance.Equals(serviceContext)
public bool Equals(
    SPServiceContext serviceContext
)

Parameters

Return value

Type: System.Boolean
Returns Boolean.

Remarks

Returns true if the specified object is equal to the current SPServiceContext, otherwise returns false.

See also

Reference

SPServiceContext class

SPServiceContext members

Equals overload

Microsoft.SharePoint namespace