Share via


ClaimsIdentityFactory<TUser, TKey>.ConvertIdToString Method (TKey)

 

Converts the key to a string. By default just calls ToString() method.

Namespace:   Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

Syntax

public virtual string ConvertIdToString(
    TKey key
)
public:
virtual String^ ConvertIdToString(
    TKey key
)
abstract ConvertIdToString : 
        key:'TKey -> string
override ConvertIdToString : 
        key:'TKey -> string
Public Overridable Function ConvertIdToString (
    key As TKey
) As String

Parameters

  • key
    Type: TKey

    The key to be converted.

Return Value

Type: System.String

The string representation of the key.

See Also

ClaimsIdentityFactory<TUser, TKey> Class
Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top