Compartilhar via


ScriptLink.RegisterScriptAfterUI method (Page, String, Boolean, String, String)

Register a script file with a given UIVersion to load after the page UI

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Sub RegisterScriptAfterUI ( _
    page As Page, _
    name As String, _
    localizable As Boolean, _
    uiVersion As String, _
    ctag As String _
)
'Usage
Dim page As Page
Dim name As String
Dim localizable As Boolean
Dim uiVersion As String
Dim ctag As StringScriptLink.RegisterScriptAfterUI(page, _
    name, localizable, uiVersion, ctag)
public static void RegisterScriptAfterUI(
    Page page,
    string name,
    bool localizable,
    string uiVersion,
    string ctag
)

Parameters

  • localizable
    Type: System.Boolean

    true if the script is localizable, false otherwise

  • uiVersion
    Type: System.String

    The UIVerison that this script is compatible with. Can be a number, a semicolon-delimited list of numbers, or null

See also

Reference

ScriptLink class

ScriptLink members

RegisterScriptAfterUI overload

Microsoft.SharePoint.WebControls namespace