共用方式為


Equals 方法 (DataType)

Determines whether the specified data types are considered equal.

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

語法

'宣告
Public Function Equals ( _
    dt As DataType _
) As Boolean
'用途
Dim instance As DataType
Dim dt As DataType
Dim returnValue As Boolean

returnValue = instance.Equals(dt)
public bool Equals(
    DataType dt
)
public:
bool Equals(
    DataType^ dt
)
member Equals : 
        dt:DataType -> bool 
public function Equals(
    dt : DataType
) : boolean

參數

傳回值

型別:System. . :: . .Boolean
A Boolean that specifies whether the objects are equal. True if the two objects are equal. False if they are not equal.