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.
Namespace: Sandcastle.Core.PresentationStyle.TransformationAssembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2025.12.18.0
public void RegisterStartupScriptItem(
int priority,
string scriptBlockItemId
)
Public Sub RegisterStartupScriptItem (
priority As Integer,
scriptBlockItemId As String
)
public:
void RegisterStartupScriptItem(
int priority,
String^ scriptBlockItemId
)
member RegisterStartupScriptItem :
priority : int *
scriptBlockItemId : string -> unit
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
Only unique script block IDs are registered. Any subsequent calls to this method with an
identical script block ID will ignore the duplicates.