Determines whether the ClaimCollection
contains elements that match the conditions defined by the
specified predicate.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Visual Basic |
Dim instance As ClaimCollection
Dim match As Predicate(Of Claim)
Dim returnValue As Boolean
returnValue = instance.Exists(match)
|
Syntax
Visual Basic |
Public Function Exists ( _
match As Predicate(Of Claim) _
) As Boolean
|
C# |
public bool Exists (
Predicate<Claim> match
)
|
C++ |
public:
bool Exists (
Predicate<Claim^>^ match
)
|
J# |
public boolean Exists (
Predicate<Claim> match
)
|
JScript |
public function Exists (
match : Predicate<Claim>
) : boolean
|
Parameters
- match
-
The predicate delegate that defines the conditions of the
elements to search for.
Return Value
Returns true if the ClaimCollection contains one or more elements
that match the conditions defined by the specified predicate;
otherwise, false.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also