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>

每當參考值變更時要叫用的動作。

適用於