SPTrustedClaimTypeInformation.Equals - Méthode

Détermine si l'objet spécifié est égal à l'objet SPTrustedClaimTypeInformation en cours.

Espace de noms :  Microsoft.SharePoint.Administration.Claims
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function Equals ( _
    other As Object _
) As Boolean
'Utilisation
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
)

Paramètres

  • other
    Type : System.Object

    Objet à comparer avec l'objet en cours.

Valeur renvoyée

Type : System.Boolean
true si other est égal à l'objet actuel ; dans le cas contraire, false.

Exceptions

Exception Condition
ArgumentNullException

other est null .

Remarques

Cette substitution convertit other à un objet SPTrustedClaimTypeInformation et compare toutes les propriétés des deux objets SPTrustedClaimTypeInformation .

Cette substitution retourne true si toutes les valeurs de propriété des SPTrustedClaimTypeInformation deux objets sont égaux. Si la valeur de la propriété AcceptOnlyKnownClaimValues est false, cette substitution ne vérifie pas les propriétés des deux objets SPTrustedClaimTypeInformationKnownClaimValues .

Voir aussi

Référence

SPTrustedClaimTypeInformation classe

SPTrustedClaimTypeInformation - Membres

Microsoft.SharePoint.Administration.Claims - Espace de noms