RenderTreeBuilder.AddElementReferenceCapture(Int32, Action<ElementReference>) Method

Definition

Appends a frame representing an instruction to capture a reference to the parent element.

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

Parameters

sequence
Int32

An integer that represents the position of the instruction in the source code.

elementReferenceCaptureAction
Action<ElementReference>

An action to be invoked whenever the reference value changes.

Applies to