共用方式為


SPPolicy.Equals method

覆寫] 相當於 [,如此我們物件取得相較,在還原期間取得適當的比較運算子。

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

Syntax

'宣告
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function Equals ( _
    o As Object _
) As Boolean
'用途
Dim instance As SPPolicy
Dim o As Object
Dim returnValue As Boolean

returnValue = instance.Equals(o)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override bool Equals(
    Object o
)

參數

傳回值

Type: System.Boolean
會傳回 true,如果物件是 SPSecureBinding 及連接埠是這個執行個體 ; 相同否則為 false。

請參閱

參照

SPPolicy class

SPPolicy members

Microsoft.SharePoint.Administration namespace