Udostępnij za pośrednictwem


RenderTreeBuilder.AddElementReferenceCapture Metoda

Definicja

Dołącza ramkę reprezentującą instrukcję, aby przechwycić odwołanie do elementu nadrzędnego.

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))

Parametry

sequence
Int32

Liczba całkowita reprezentująca pozycję instrukcji w kodzie źródłowym.

elementReferenceCaptureAction
Action<ElementReference>

Akcja, która ma zostać wywołana za każdym razem, gdy zmienia się wartość odwołania.

Dotyczy