Synced
IUiService.SetContent
Section titled “IUiService.SetContent”
- Replaces an element’s children with an explicitly tagged source-language fragment.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.UI
Scope: Runtime
Declaration
Section titled “Declaration”bool InnoEngine.UI.IUiService.SetContent(InnoEngine.UI.UiContextHandle context, InnoEngine.UI.UiDocumentHandle document, string elementId, InnoEngine.UI.UiDocumentFragment fragment)Parameters
Section titled “Parameters”Parameter context: The context that owns the requested document or state.
Parameter document: The document owned by the supplied context.
Parameter elementId: The target document element ID.
Parameter fragment: Explicitly tagged replacement document fragment.
Returns
Section titled “Returns”True when the element exists and the fragment was applied; false when the element is absent. This is not a comparison with the preceding content.