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
- serviceContext
Type: Microsoft.SharePoint.SPServiceContext
Return value
Type: System.Boolean
Returns Boolean.
Remarks
Returns true if the specified object is equal to the current SPServiceContext, otherwise returns false.