点击或拖拽改变大小

SwebClientJsEvalExtensionJSAppend 方法

附加脚本

命名空间:  Swebui.Controls
程序集:  Swebui.Controls (在 Swebui.Controls.dll 中) 版本:1.0.0
语法
public static void JSAppend(
	this SwebClientInfo info,
	string jsId,
	string jsCode,
	ResultHandler handler = null,
	JScriptType jsType = JScriptType.Script,
	JScriptAppendType jsAppendType = JScriptAppendType.Body
)

参数

info
类型:SwebuiSwebClientInfo
客户端
jsId
类型:SystemString
js编号
jsCode
类型:SystemString
js代码
handler (Optional)
类型:SwebuiResultHandler
回调
jsType (Optional)
类型:Swebui.ControlsJScriptType
js类型
jsAppendType (Optional)
类型:Swebui.ControlsJScriptAppendType
js添加类型

备注

在 Visual Basic 和 C# 中,这个方法可以当成为类型 SwebClientInfo 的实例方法来调用。在采用实例方法语法调用这个方法时,请省略第一个参数。请参考 扩展方法 (Visual Basic)扩展方法 (C# 编程指南) 获取更多信息。
参见