Compartilhar via


ScriptLink.BuildDelayedExecutionScript method

Builds a script which can be rendered inline and which accesses a method found in a file which is loaded on demand. Intended for use in an "onload" scenario.

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

Syntax

'Declaration
Public Shared Function BuildDelayedExecutionScript ( _
    strFileKey As String, _
    strMethod As String, _
    ParamArray scriptSafeArgs As String() _
) As String
'Usage
Dim strFileKey As String
Dim strMethod As String
Dim scriptSafeArgs As String()
Dim returnValue As String

returnValue = ScriptLink.BuildDelayedExecutionScript(strFileKey, _
    strMethod, scriptSafeArgs)
public static string BuildDelayedExecutionScript(
    string strFileKey,
    string strMethod,
    params string[] scriptSafeArgs
)

Parameters

  • scriptSafeArgs
    Type: []

Return value

Type: System.String
Returns String.

See also

Reference

ScriptLink class

ScriptLink members

Microsoft.SharePoint.WebControls namespace