Equality 運算子
Determines whether the two specified objects have the same value.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
Public Shared Operator = ( _
dtsObj1 As DtsObject, _
dtsObj2 As DtsObject _
) As Boolean
'用途
Dim dtsObj1 As DtsObject
Dim dtsObj2 As DtsObject
Dim returnValue As Boolean
returnValue = (dtsObj1 = dtsObj2)
public static bool operator ==(
DtsObject dtsObj1,
DtsObject dtsObj2
)
public:
static bool operator ==(
DtsObject^ dtsObj1,
DtsObject^ dtsObj2
)
static let inline (=)
dtsObj1:DtsObject *
dtsObj2:DtsObject : bool
JScript 支援多載運算子的使用,但不支援新運算子的宣告。
參數
- dtsObj1
型別:Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
The object to compare against dtsObj2.
- dtsObj2
型別:Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
The object to compare against dtsObj1.
傳回值
型別:System. . :: . .Boolean
true if the value of dtsObj1 is the same as the value of dtsObj2; otherwise, false.