共用方式為


ScriptLink.RegisterScriptAfterUI Method (Page, String, Boolean)

Registers the specified script file for the specified Web page and localizable value to load after the page user interface (UI) is loaded.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

Parameters

  • name
    Type: System.String

    A string that contains the name of the script file.

  • localizable
    Type: System.Boolean

    true if the script can be localized; otherwise, false.

See Also

Reference

ScriptLink Class

ScriptLink Members

RegisterScriptAfterUI Overload

Microsoft.SharePoint.WebControls Namespace