ScriptLink.BuildInteractiveOnDemandScript 方法

生成的脚本其可呈现内嵌和其访问按需加载的文件中找到的方法。适用于"onclick"方案中使用。

命名空间:  Microsoft.SharePoint.WebControls
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Shared Function BuildInteractiveOnDemandScript ( _
    strFileKey As String, _
    strMethod As String, _
    ParamArray scriptSafeArgs As String() _
) As String
用法
Dim strFileKey As String
Dim strMethod As String
Dim scriptSafeArgs As String()
Dim returnValue As String

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

参数

  • scriptSafeArgs
    类型:[]

返回值

类型:System.String
返回 String

另请参阅

引用

ScriptLink 类

ScriptLink 成员

Microsoft.SharePoint.WebControls 命名空间