共用方式為


SPClaim.Equals method

會判斷指定的物件是否等於目前的宣告。

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

Syntax

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

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

參數

傳回值

Type: System.Boolean
比較Boolean 。如果指定的物件是等於目前宣告,會傳回true;否則為false

請參閱

參照

SPClaim class

SPClaim members

Microsoft.SharePoint.Administration.Claims namespace