共用方式為


Inequality 運算子

Tests inequality between Urn objects. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Shared Operator <> ( _
    urn1 As Urn, _
    urn2 As Urn _
) As Boolean
'用途
Dim urn1 As Urn
Dim urn2 As Urn
Dim returnValue As Boolean

returnValue = (urn1 <> urn2)
public static bool operator !=(
    Urn urn1,
    Urn urn2
)
public:
static bool operator !=(
    Urn^ urn1, 
    Urn^ urn2
)
static let inline (<>)
        urn1:Urn * 
        urn2:Urn  : bool
JScript 支援多載運算子的使用,但不支援新運算子的宣告。

參數

傳回值

型別:System. . :: . .Boolean
Returns True if the objects are not equal.