ReportParameterCollection 类

A collection of ReportParameter objects. This class cannot be inherited.

继承层次结构

System. . :: . .Object
  System.Collections.Specialized. . :: . .NameObjectCollectionBase
    Microsoft.ReportingServices.ReportRendering..::..ReportParameterCollection

命名空间:  Microsoft.ReportingServices.ReportRendering
程序集:  Microsoft.ReportingServices.ProcessingCore(在 Microsoft.ReportingServices.ProcessingCore.dll 中)

语法

声明
Public NotInheritable Class ReportParameterCollection _
    Inherits NameObjectCollectionBase
用法
Dim instance As ReportParameterCollection
public sealed class ReportParameterCollection : NameObjectCollectionBase
public ref class ReportParameterCollection sealed : public NameObjectCollectionBase
[<SealedAttribute>]
type ReportParameterCollection =  
    class
        inherit NameObjectCollectionBase
    end
public final class ReportParameterCollection extends NameObjectCollectionBase

ReportParameterCollection 类型公开以下成员。

属性

  名称 说明
公共属性 AsNameValueCollection Contains report parameters as a sorted collection of associated string keys and string values, which can be accessed using either the key or the index.
公共属性 Count (从 NameObjectCollectionBase 继承。)
受保护属性 IsReadOnly (从 NameObjectCollectionBase 继承。)
公共属性 IsValid Indicates whether all of the report parameters have been correctly specified.
公共属性 Item[ ( [ ( Int32] ) ] ) Gets the parameter located in the collection at the position indicated by the index. In C#, this property is the indexer for the ReportParameterCollection class.
公共属性 Item[ ( [ ( String] ) ] ) Gets the report parameter from the collection. The parameter retrieved is the parameter from the collection that matches the name specified in the name parameter. In C#, this property is the indexer for the ReportParameterCollection class.
公共属性 Keys (从 NameObjectCollectionBase 继承。)

页首

方法

  名称 说明
受保护方法 BaseAdd (从 NameObjectCollectionBase 继承。)
受保护方法 BaseClear (从 NameObjectCollectionBase 继承。)
受保护方法 BaseGet(String) (从 NameObjectCollectionBase 继承。)
受保护方法 BaseGet(Int32) (从 NameObjectCollectionBase 继承。)
受保护方法 BaseGetAllKeys (从 NameObjectCollectionBase 继承。)
受保护方法 BaseGetAllValues() () () () (从 NameObjectCollectionBase 继承。)
受保护方法 BaseGetAllValues(Type) (从 NameObjectCollectionBase 继承。)
受保护方法 BaseGetKey (从 NameObjectCollectionBase 继承。)
受保护方法 BaseHasKeys (从 NameObjectCollectionBase 继承。)
受保护方法 BaseRemove (从 NameObjectCollectionBase 继承。)
受保护方法 BaseRemoveAt (从 NameObjectCollectionBase 继承。)
受保护方法 BaseSet(String, Object) (从 NameObjectCollectionBase 继承。)
受保护方法 BaseSet(Int32, Object) (从 NameObjectCollectionBase 继承。)
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetEnumerator (从 NameObjectCollectionBase 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetObjectData (从 NameObjectCollectionBase 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 OnDeserialization (从 NameObjectCollectionBase 继承。)
公共方法 ToString (从 Object 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 ICollection. . :: . .CopyTo (从 NameObjectCollectionBase 继承。)
显式接口实现私有属性 ICollection. . :: . .IsSynchronized (从 NameObjectCollectionBase 继承。)
显式接口实现私有属性 ICollection. . :: . .SyncRoot (从 NameObjectCollectionBase 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。