Partilhar via


ReportParameterCollection.AsNameValueCollection Property

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.

Namespace: Microsoft.ReportingServices.ReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)

Syntax

'Declaration
Public ReadOnly Property AsNameValueCollection As NameValueCollection
public NameValueCollection AsNameValueCollection { get; }
public:
property NameValueCollection^ AsNameValueCollection {
    NameValueCollection^ get ();
}
/** @property */
public NameValueCollection get_AsNameValueCollection ()
public function get AsNameValueCollection () : NameValueCollection

Property Value

Returns a NameValueCollection containing the report parameters. A NameValueCollection is a sorted collection, and its data can be accessed using a key or a value. For more information, see "NameValueCollection Class" in the Microsoft .NET Framework SDK.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ReportParameterCollection Class
ReportParameterCollection Members
Microsoft.ReportingServices.ReportRendering Namespace