WebRenderer.RendererId 属性

定义

注意

The renderer ID can be assigned by overriding 'GetWebRendererId'.

获取呈现器标识符。

protected int RendererId { get; init; }
[set: System.Obsolete("The renderer ID can be assigned by overriding 'GetWebRendererId'.")]
protected int RendererId { get; init; }
member this.RendererId : int with get, set
[<set: System.Obsolete("The renderer ID can be assigned by overriding 'GetWebRendererId'.")>]
member this.RendererId : int with get, set
Protected Property RendererId As Integer

属性值

属性

注解

RendererId 附加呈现器之前进行访问将引发 InvalidOperationException。 调用 Microsoft.AspNetCore.Components.RenderTree.WebRenderer.WaitUntilAttachedAsync 以等待呈现器附加到浏览器。

适用于