Bahasa

RenderTreeBuilder.AddComponentReferenceCapture Metode

Definisi

Menambahkan bingkai yang mewakili instruksi untuk mengambil referensi ke komponen induk.

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

Parameter

sequence
Int32

Bilangan bulat yang mewakili posisi instruksi dalam kode sumber.

componentReferenceCaptureAction
Action<Object>

Tindakan yang akan dipanggil setiap kali nilai referensi berubah.

Berlaku untuk