Synced
UiRuntime.SetContent
Section titled “UiRuntime.SetContent”
- Updates the content state and applies the resulting invariants.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.UI.Runtime
Declaration
Section titled “Declaration”public bool Inno.UI.Runtime.UiRuntime.SetContent(Inno.UI.UiContextHandle context, Inno.UI.UiDocumentHandle document, string elementId, Inno.UI.UiDocumentFragment content)Parameters
Section titled “Parameters”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 content: The content consumed by set content; ownership remains with the caller unless explicitly stated otherwise.
Returns
Section titled “Returns”true when the operation succeeds or its condition is satisfied; otherwise, false.