共用方式為


ScriptLink.Register Method

Include Protected Members
Include Inherited Members

Registers a script file.

Overload List

  Name Description
Public methodStatic member Register(Page, String, Boolean) Registers the specified script file for the specified Web page and localizable value.
Public methodStatic member Register(String, Page, String, Boolean) Registers the specified script file for the specified user interface (UI) version, Web page, and localizable value.
Public methodStatic member Register(Page, String, Boolean, Boolean) Registers the specified script file for the specified Web page and localizable and defer values.
Public methodStatic member Register(String, Page, String, Boolean, Boolean) Registers the specified script file for the specified user interface (UI) version, Web page, and localizable and defer values.
Public methodStatic member Register(Page, String, Boolean, Boolean, String) Registers the specified script file for the specified Web page, scripting language, and localizable and defer values.
Public methodStatic member Register(Page, String, Boolean, Boolean, String, String) Registers the specified script file for the specified user interface (UI) version, Web page, script language, and localizable and defer values.

Top

See Also

Reference

ScriptLink Class

ScriptLink Members

Microsoft.SharePoint.WebControls Namespace