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