Freigeben über


ClaimCollection.Clear Method

Removes all Claims from this collection.

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

Verwendung

    Dim instance As ClaimCollection

instance.Clear

Syntax

'Declaration
Public Sub Clear
public void Clear ()
public:
virtual void Clear () sealed
public final void Clear ()
public final function Clear ()

Hinweise

The P:Microsoft.IdentityModel.Claims.Claim.Subject property of every T:Microsoft.IdentityModel.Claims.Claim removed from the collection is set to null.

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