RenderTreeBuilder.AddElementReferenceCapture Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.