Share via


RenderTreeBuilder.AddComponentReferenceCapture Method

Definition

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

public:
 void AddComponentReferenceCapture(int sequence, Action<System::Object ^> ^ componentReferenceCaptureAction);
public void AddComponentReferenceCapture (int sequence, Action<object> componentReferenceCaptureAction);
member this.AddComponentReferenceCapture : int * Action<obj> -> unit
Public Sub AddComponentReferenceCapture (sequence As Integer, componentReferenceCaptureAction As Action(Of Object))

Parameters

sequence
Int32

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

componentReferenceCaptureAction
Action<Object>

An action to be invoked whenever the reference value changes.

Applies to