共用方式為


Equals 方法

Determines whether two Property objects are equal.

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

語法

'宣告
Public Overrides Function Equals ( _
    o As Object _
) As Boolean
'用途
Dim instance As [Property]
Dim o As Object
Dim returnValue As Boolean

returnValue = instance.Equals(o)
public override bool Equals(
    Object o
)
public:
virtual bool Equals(
    Object^ o
) override
abstract Equals : 
        o:Object -> bool 
override Equals : 
        o:Object -> bool 
public override function Equals(
    o : Object
) : boolean

參數

傳回值

型別:System. . :: . .Boolean
A Boolean property value that specifies whether the two Property objects are equal.
If True, the two Property objects are equal.
If False (default), the two Property objects are not equal.

範例

設定屬性