Share via


IdentityRole Constructeurs

Définition

Surcharges

IdentityRole()

Initialise une nouvelle instance de IdentityRole.

IdentityRole(String)

Initialise une nouvelle instance de IdentityRole.

IdentityRole()

Initialise une nouvelle instance de IdentityRole.

public:
 IdentityRole();
public IdentityRole ();
Public Sub New ()

Remarques

La propriété Id est initialisée vers à partir d’une nouvelle valeur de chaîne GUID.

S’applique à

IdentityRole(String)

Initialise une nouvelle instance de IdentityRole.

public:
 IdentityRole(System::String ^ roleName);
public IdentityRole (string roleName);
new Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole : string -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole
Public Sub New (roleName As String)

Paramètres

roleName
String

Nom du rôle.

Remarques

La propriété Id est initialisée vers à partir d’une nouvelle valeur de chaîne GUID.

S’applique à