Freigeben über


ClaimCollection.Remove Method

Removes a claim from the ClaimCollection.

Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Verwendung

    Dim instance As ClaimCollection
Dim item As Claim
Dim returnValue As Boolean

returnValue = instance.Remove(item)

Syntax

'Declaration
Public Function Remove ( _
    item As Claim _
) As Boolean
public bool Remove (
    Claim item
)
public:
virtual bool Remove (
    Claim^ item
) sealed
public final boolean Remove (
    Claim item
)
public final function Remove (
    item : Claim
) : boolean

Parameter

  • item
    The claim to remove.

Rückgabewert

Returns Boolean. true if the claim was removed; otherwise, false.

Threadsicherheit

Beliebige öffentliche, statische (Freigegebene in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Plattformen

Entwicklungsplattformen

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

Siehe auch

Referenz

ClaimCollection Class
ClaimCollection Members
Microsoft.IdentityModel.Claims Namespace