Adds a Claim to this collection,
detaching it from its current collection.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Syntax
Visual Basic |
Public Sub Add ( _
item As Claim _
)
|
C# |
public void Add (
Claim item
)
|
C++ |
public:
virtual void Add (
Claim^ item
) sealed
|
J# |
public final void Add (
Claim item
)
|
JScript |
public final function Add (
item : Claim
)
|
Parameters
- item
-
Claim to be added to the ClaimsPrincipal.
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