Removes the specified T:Microsoft.IdentityModel.Claims.IClaimsIdentity.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As ClaimsIdentityCollection
Dim item As IClaimsIdentity
Dim returnValue As Boolean

returnValue = instance.Remove(item)

Syntax

Visual Basic
Public Function Remove ( _
		item As IClaimsIdentity _
) As Boolean
C#
public bool Remove (
		IClaimsIdentity item
)
C++
public:
virtual bool Remove (
		IClaimsIdentity^ item
) sealed
J#
public final boolean Remove (
		IClaimsIdentity item
)
JScript
public final function Remove (
		item : IClaimsIdentity
) : boolean

Parameters

item

The T:Microsoft.IdentityModel.Claims.IClaimsIdentity to remove.

Return Value

True if the item was found and was successfully deleted; 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