Themed 2026 Presentation Style Preview

TopicTransformationCoreRegisterStartupScriptItem Method

This is used to register a shared content item ID that contains a block of script with localized text. These will be added to a script element at the end of the document body by presentation styles that support script.

Definition

Namespace: Sandcastle.Core.PresentationStyle.Transformation
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2025.12.18.0
public void RegisterStartupScriptItem(
	int priority,
	string scriptBlockItemId
)

Parameters

priority  Int32
The priority of the script. Lower numbers will have higher priority
scriptBlockItemId  String
The item ID that contains the script block to execute

Remarks

Only unique script block IDs are registered. Any subsequent calls to this method with an identical script block ID will ignore the duplicates.

See Also