共用方式為


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)
Available in Sandboxed Solutions: No

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