RenderTreeBuilder.OpenElement(Int32, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.