共用方式為


ScriptLink.RegisterDelayedExecutionScript Method

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

Syntax

'Declaration
Public Shared Sub RegisterDelayedExecutionScript ( _
    page As Page, _
    strFileKey As String, _
    scriptBlockId As String, _
    strMethod As String, _
    ParamArray scriptSafeArgs As String() _
)
'Usage
Dim page As Page
Dim strFileKey As String
Dim scriptBlockId As String
Dim strMethod As String
Dim scriptSafeArgs As String()

ScriptLink.RegisterDelayedExecutionScript(page, _
    strFileKey, scriptBlockId, strMethod, _
    scriptSafeArgs)
public static void RegisterDelayedExecutionScript(
    Page page,
    string strFileKey,
    string scriptBlockId,
    string strMethod,
    params string[] scriptSafeArgs
)

Parameters

  • scriptSafeArgs
    Type: []

See Also

Reference

ScriptLink Class

ScriptLink Members

Microsoft.SharePoint.WebControls Namespace