RenderTreeBuilder.AddElementReferenceCapture Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menambahkan bingkai yang mewakili instruksi untuk mengambil referensi ke elemen induk.
public:
void AddElementReferenceCapture(int sequence, Action<Microsoft::AspNetCore::Components::ElementReference> ^ elementReferenceCaptureAction);
public void AddElementReferenceCapture(int sequence, Action<Microsoft.AspNetCore.Components.ElementReference> elementReferenceCaptureAction);
member this.AddElementReferenceCapture : int * Action<Microsoft.AspNetCore.Components.ElementReference> -> unit
Public Sub AddElementReferenceCapture (sequence As Integer, elementReferenceCaptureAction As Action(Of ElementReference))
Parameter
- sequence
- Int32
Bilangan bulat yang mewakili posisi instruksi dalam kode sumber.
- elementReferenceCaptureAction
- Action<ElementReference>
Tindakan yang akan dipanggil setiap kali nilai referensi berubah.