ReportParameterCollection.Item[] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从集合中获取报告参数。
重载
| 名称 | 说明 |
|---|---|
| Item[Int32] |
获取集合中位于索引位置的参数。 在 C# 中,此属性是类的 ReportParameterCollection 索引器。 |
| Item[String] |
从集合中获取报告参数。 检索的参数是集合中与参数指定 |
Item[Int32]
获取集合中位于索引位置的参数。 在 C# 中,此属性是类的 ReportParameterCollection 索引器。
public:
property Microsoft::ReportingServices::ReportRendering::ReportParameter ^ default[int] { Microsoft::ReportingServices::ReportRendering::ReportParameter ^ get(int index); };
public Microsoft.ReportingServices.ReportRendering.ReportParameter this[int index] { get; }
member this.Item(int) : Microsoft.ReportingServices.ReportRendering.ReportParameter
Default Public ReadOnly Property Item(index As Integer) As ReportParameter
参数
- index
- Int32
第n个位置的参数。
属性值
返回 ReportParameter 一个包含集合中参数的对象,该参数位于索引指示的位置。
注解
在 JScript 中,可以使用类型定义的默认索引属性,但不能显式定义自己的属性。 然而,在 expando 类上指定属性会自动提供一个默认的索引属性,其类型为 Object ,索引类型为 String。
适用于
Item[String]
从集合中获取报告参数。 检索的参数是集合中与参数指定 name 名称匹配的参数。 在 C# 中,此属性是类的 ReportParameterCollection 索引器。
public:
property Microsoft::ReportingServices::ReportRendering::ReportParameter ^ default[System::String ^] { Microsoft::ReportingServices::ReportRendering::ReportParameter ^ get(System::String ^ name); };
public Microsoft.ReportingServices.ReportRendering.ReportParameter this[string name] { get; }
member this.Item(string) : Microsoft.ReportingServices.ReportRendering.ReportParameter
Default Public ReadOnly Property Item(name As String) As ReportParameter
参数
- name
- String
参数的名称。
属性值
返回 ReportParameter 一个包含与参数指定 name 名称相符的对象。
注解
在 JScript 中,可以使用类型定义的默认索引属性,但不能显式定义自己的属性。 然而,在 expando 类上指定属性会自动提供一个默认的索引属性,其类型为 Object ,索引类型为 String。