共用方式為


ScriptLink.OnLoad method

This member overrides Control.OnLoad(EventArgs).

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Protected Overrides Sub OnLoad ( _
    e As EventArgs _
)
'Usage
Dim e As EventArgs

Me.OnLoad(e)
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
protected override void OnLoad(
    EventArgs e
)

Parameters

See also

Reference

ScriptLink class

ScriptLink members

Microsoft.SharePoint.WebControls namespace