Topic Transformation CoreRegister Startup Script Item 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: 2026.1.20.0
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
C#
public void RegisterStartupScriptItem(
int priority,
string scriptBlockItemId
)VB
Public Sub RegisterStartupScriptItem (
priority As Integer,
scriptBlockItemId As String
)C++
public:
void RegisterStartupScriptItem(
int priority,
String^ scriptBlockItemId
)F#
member RegisterStartupScriptItem :
priority : int *
scriptBlockItemId : string -> unit Parameters
Remarks
Only unique script block IDs are registered. Any subsequent calls to this method with an
identical script block ID will ignore the duplicates.