Returns a string representation of the claim object. The string that is returned contains the values of the ClaimType and Value properties.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As Claim
Dim returnValue As String

returnValue = instance.ToString

Syntax

Visual Basic
Public Overrides Function ToString As String
C#
public override string ToString ()
C++
public:
virtual String^ ToString () override
J#
public String ToString ()
JScript
public override function ToString () : String

Return Value

The string representation of the serialized Claim object.

Remarks

The returned string contains the values of the P:Microsoft.IdentityModel.Claims.Claim.ClaimType and P:Microsoft.IdentityModel.Claims.Claim.Value properties.


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