Share 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 
    Get
'Usage
Dim instance As ReportParameterCollection 
Dim value As NameValueCollection 

value = instance.AsNameValueCollection
public NameValueCollection AsNameValueCollection { get; }
public:
property NameValueCollection^ AsNameValueCollection {
    NameValueCollection^ get ();
}
member AsNameValueCollection : NameValueCollection
function get AsNameValueCollection () : NameValueCollection

Property Value

Type: System.Collections.Specialized.NameValueCollection
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.

See Also

Reference

ReportParameterCollection Class

Microsoft.ReportingServices.ReportRendering Namespace