Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Replaces an element’s children with an explicitly tagged source-language fragment.

API: scripting
Project: Inno.UI
Scope: Runtime

public static bool InnoEngine.UI.UI.SetContent(InnoEngine.UI.UiContextHandle context, InnoEngine.UI.UiDocumentHandle document, string elementId, InnoEngine.UI.UiDocumentFragment fragment)

Parameter context: The context that supplies state and services for this operation.

Parameter document: The document consumed by set content; ownership remains with the caller unless explicitly stated otherwise.

Parameter elementId: The element id text validated by the set content operation.

Parameter fragment: The fragment consumed by set content; ownership remains with the caller unless explicitly stated otherwise.

true when the operation succeeds or its condition is satisfied; otherwise, false.