从与指定名称匹配的集合返回报表数据源。
命名空间: Microsoft.Reporting.WebForms
程序集: Microsoft.ReportViewer.WebForms(在 Microsoft.ReportViewer.WebForms.dll 中)
语法
声明
Public ReadOnly Default Property Item ( _
name As String _
) As ReportDataSource
public ReportDataSource this[
string name
] { get; }
public:
property ReportDataSource^ default[String^ name] {
ReportDataSource^ get (String^ name);
}
member Item :
name:string -> ReportDataSource with get
JScript 不支持索引属性。
参数
- name
类型:String
要从集合检索的报表数据源的名称。
属性值
类型:Microsoft.Reporting.WebForms.ReportDataSource
一个 ReportDataSource 对象。