Parse Method
Description
Converts Markup from a String to Markup objects.
Syntax
Public Function Parse( _
ByVal Text As String _
) As MarkupUIElement
Parameters
- Text: Markup string to parse.
Remarks
Parse will always return a single top-level Markup object. The object has to be a UIElement object (not a collection). After the parse, you can change the child elements in code.
Note that "Text" will fail because Run is not a UIElement, and "" will also fail because there are 2 top-level elements, and only 1 top-level element is allowed.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.