Freigeben über


ClaimCollection.FindAll Method

Retrieves an ICollection<Claim> containing all the elements that match the conditions defined by the specified predicate.

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

Verwendung

    Dim instance As ClaimCollection
Dim match As Predicate(Of Claim)
Dim returnValue As ICollection(Of Claim)

returnValue = instance.FindAll(match)

Syntax

'Declaration
Public Function FindAll ( _
    match As Predicate(Of Claim) _
) As ICollection(Of Claim)
public ICollection<Claim> FindAll (
    Predicate<Claim> match
)
public:
ICollection<Claim^>^ FindAll (
    Predicate<Claim^>^ match
)
public ICollection<Claim> FindAll (
    Predicate<Claim> match
)
public function FindAll (
    match : Predicate<Claim>
) : ICollection<Claim>

Parameter

  • match
    The predicate delegate that defines the conditions of the elements to search for.

Rückgabewert

Returns ICollection. This is the collection of matched claims.

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