Equality 运算符

Tests equality between two Urn objects. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public Shared Operator = ( _
    u1 As Urn, _
    u2 As Urn _
) As Boolean
用法
Dim u1 As Urn
Dim u2 As Urn
Dim returnValue As Boolean

returnValue = (u1 = u2)
public static bool operator ==(
    Urn u1,
    Urn u2
)
public:
static bool operator ==(
    Urn^ u1, 
    Urn^ u2
)
static let inline (=)
        u1:Urn * 
        u2:Urn  : bool
JScript 支持使用重载的运算符,但不支持声明新重载运算符。

参数

返回值

类型:System. . :: . .Boolean
Returns True if the objects are equal, otherwise False.