ReportViewer.IScriptControl.GetScriptReferences 方法
获取用于定义控件需要的脚本资源的 ScriptReference 对象的集合。
命名空间: Microsoft.Reporting.WebForms
程序集: Microsoft.ReportViewer.WebForms(在 Microsoft.ReportViewer.WebForms.dll 中)
语法
声明
Private Function GetScriptReferences As IEnumerable(Of ScriptReference)
Implements IScriptControl.GetScriptReferences
用法
Dim instance As ReportViewer
Dim returnValue As IEnumerable(Of ScriptReference)
returnValue = CType(instance, IScriptControl).GetScriptReferences()
IEnumerable<ScriptReference> IScriptControl.GetScriptReferences()
private:
virtual IEnumerable<ScriptReference^>^ GetScriptReferences() sealed = IScriptControl::GetScriptReferences
private abstract GetScriptReferences : unit -> IEnumerable<ScriptReference>
private override GetScriptReferences : unit -> IEnumerable<ScriptReference>
返回值
类型:System.Collections.Generic.IEnumerable<ScriptReference>
ScriptReference 对象的集合。
实现
IScriptControl.GetScriptReferences()