Bagikan melalui


WebRenderer.RendererId Properti

Definisi

Perhatian

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

Mendapatkan pengidentifikasi untuk perender.

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

Nilai Properti

Atribut

Keterangan

RendererId Mengakses sebelum perender terpasang akan melempar InvalidOperationException. Panggil Microsoft.AspNetCore.Components.RenderTree.WebRenderer.WaitUntilAttachedAsync untuk menunggu hingga perender dilampirkan ke browser.

Berlaku untuk