RoleStoreBase<TRole,TKey,TUserRole,TRoleClaim>.ConvertIdFromString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for