Поделиться через


Метод ClaimCollection.FindAll

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

Пространство имен: Microsoft.IdentityModel.Claims
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

Использование

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

returnValue = instance.FindAll(match)

Синтаксис

'Декларация
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>

Параметры

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

Возвращаемое значение

Returns ICollection. This is the collection of matched claims.

Безопасность потоков

Любые открытые статические члены (Shared в Visual Basic) этого типа являются поточно-ориентированными.Любые члены экземпляров не являются гарантированно поточно-ориентированными.

Платформы

Платформа разработки

Windows Server 2003, Windows Vista

Target Platforms

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

См. также

Справочник

Класс ClaimCollection
ClaimCollection Члены
Пространство имен Microsoft.IdentityModel.Claims