共用方式為


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

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

Syntax

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

Parameters

See also

Reference

ScriptLink class

ScriptLink members

Register overload

Microsoft.SharePoint.WebControls namespace