共用方式為


ScriptLink.Register method (Control, Page, String, Boolean, Boolean, String)

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

Syntax

'Declaration
Public Shared Sub Register ( _
    ctrl As Control, _
    page As Page, _
    name As String, _
    localizable As Boolean, _
    defer As Boolean, _
    language As String _
)
'Usage
Dim ctrl As Control
Dim page As Page
Dim name As String
Dim localizable As Boolean
Dim defer As Boolean
Dim language As StringScriptLink.Register(ctrl, page, name, localizable, _
    defer, language)
public static void Register(
    Control ctrl,
    Page page,
    string name,
    bool localizable,
    bool defer,
    string language
)

Parameters

See also

Reference

ScriptLink class

ScriptLink members

Register overload

Microsoft.SharePoint.WebControls namespace