RenderTreeBuilder.AddComponentReferenceCapture 方法

定义

追加表示指令的帧,以捕获对父组件的引用。

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

参数

sequence
Int32

一个整数,表示指令在源代码中的位置。

componentReferenceCaptureAction
Action<Object>

每当引用值更改时要调用的操作。

适用于