Dela via


RenderTreeBuilder.OpenElement(Int32, String) Method

Definition

Appends a frame representing an element, i.e., a container for other frames. In order for the RenderTreeBuilder state to be valid, you must also call CloseElement() immediately after appending the new element's child frames.

public:
 void OpenElement(int sequence, System::String ^ elementName);
public void OpenElement (int sequence, string elementName);
member this.OpenElement : int * string -> unit
Public Sub OpenElement (sequence As Integer, elementName As String)

Parameters

sequence
Int32

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

elementName
String

A value representing the type of the element.

Applies to