共用方式為


SPServiceContext.Inequality Operator

Determines whether the two specified SPServiceContext objects have different values.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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
)

Parameters

Return Value

Type: System.Boolean
true if the value of serviceContextA is different from the value of serviceContextB; otherwise, false.

See Also

Reference

SPServiceContext Class

SPServiceContext Members

Microsoft.SharePoint Namespace