Share via


RoleStore<TRole,TContext,TKey,TUserRole,TRoleClaim>.ConvertIdFromString Method

Definition

Converts the provided id to a strongly typed key object.

public:
 virtual TKey ConvertIdFromString(System::String ^ id);
public virtual TKey ConvertIdFromString (string id);
public virtual TKey? ConvertIdFromString (string id);
abstract member ConvertIdFromString : string -> 'Key
override this.ConvertIdFromString : string -> 'Key
Public Overridable Function ConvertIdFromString (id As String) As TKey

Parameters

id
String

The id to convert.

Returns

TKey

An instance of TKey representing the provided id.

Applies to