次の方法で共有


SPTrustedClaimTypeInformation.Equals method

Determines whether the specified object is equal to the current SPTrustedClaimTypeInformation object.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function Equals ( _
    other As Object _
) As Boolean
'Usage
Dim instance As SPTrustedClaimTypeInformation
Dim other As Object
Dim returnValue As Boolean

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

Parameters

  • other
    Type: System.Object

    The object to compare with the current object.

Return value

Type: System.Boolean
true if other is equal to the current object; otherwise, false.

Exceptions

Exception Condition
ArgumentNullException

other is null .

Remarks

This override converts other to an SPTrustedClaimTypeInformation object and compares all the properties of the two SPTrustedClaimTypeInformation objects.

This override returns true if all the property values of the two SPTrustedClaimTypeInformation objects are equal. If the value of the AcceptOnlyKnownClaimValues property is false, this override does not check the KnownClaimValues properties of the two SPTrustedClaimTypeInformation objects.

See also

Reference

SPTrustedClaimTypeInformation class

SPTrustedClaimTypeInformation members

Microsoft.SharePoint.Administration.Claims namespace