AuthorizeView.Roles Свойство

Определение

Разделенный запятыми список ролей, которым разрешено отображать содержимое.

public:
 property System::String ^ Roles { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.AspNetCore.Components.Parameter]
public string Roles { get; set; }
[Microsoft.AspNetCore.Components.Parameter]
public string? Roles { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.Roles : string with get, set
Public Property Roles As String

Значение свойства

Атрибуты

Применяется к