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.