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
)
參數
obj
Type: System.Object要比較目前宣告的物件。
傳回值
Type: System.Boolean
比較Boolean 。如果指定的物件是等於目前宣告,會傳回true;否則為false。