共用方式為


SPPersistedObject.Equals method

會決定目前保存的物件是否等於指定的物件。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'用途
Dim instance As SPPersistedObject
Dim obj As Object
Dim returnValue As Boolean

returnValue = instance.Equals(obj)
public override bool Equals(
    Object obj
)

參數

  • obj
    Type: System.Object

    object ,代表要比較目前保存的物件的物件。

傳回值

Type: System.Boolean
true如果指定的物件相同 ;否則,請false。

請參閱

參照

SPPersistedObject class

SPPersistedObject members

Microsoft.SharePoint.Administration namespace