AuthorizeView.Roles 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
允许显示内容的角色的逗号分隔列表。
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
属性值
- 属性