Checks whether the given claim is in the
collection.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Visual Basic |
Dim instance As ClaimCollection
Dim item As Claim
Dim returnValue As Boolean
returnValue = instance.Contains(item)
|
Syntax
Visual Basic |
Public Function Contains ( _
item As Claim _
) As Boolean
|
C# |
public bool Contains (
Claim item
)
|
C++ |
public:
virtual bool Contains (
Claim^ item
) sealed
|
J# |
public final boolean Contains (
Claim item
)
|
JScript |
public final function Contains (
item : Claim
) : boolean
|
Parameters
- item
-
The claim to look for.
Return Value
Returns
Boolean.
true if the claim is in the
collection; 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