Class ParameterCollection
Represents a collection of Parameter objects.
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll
Syntax
public class ParameterCollection : Collection<Parameter>, IList<Parameter>, ICollection<Parameter>, IList, ICollection, IReadOnlyList<Parameter>, IReadOnlyCollection<Parameter>, IEnumerable<Parameter>, IEnumerable, IEquatable<ParameterCollection>, ICloneable
Remarks
The collection does not allow adding two parameters with matching names.
Constructors
ParameterCollection()
Declaration
public ParameterCollection()
Properties
Item[String]
Gets a Parameter by name.
Declaration
public Parameter this[string name] { get; }
Parameters
System. The name of the parameter. |
Property Value
Parameter
A parameter if found; otherwise null (Nothing) |
Methods
Add(String, Object)
Creates a Parameter with specific settings and
adds it to the
Parameter
Declaration
public void Add(string name, object value)
Parameters
AddRange(IEnumerable<Parameter>)
Adds/updates an enumerable of Parameter objects to/in the
Parameter
Declaration
public void AddRange(IEnumerable<Parameter> collection)
Parameters
System.
|
Remarks
The Parameter objects returned from the
enumerable are appended to the end of the
Parameter
Contains(String)
Determines whether the Parameter
Declaration
public bool Contains(string name)
Parameters
System. A System. |
Returns
System. Returns a System. |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.
|
Returns
System.
|
Overrides
Equals(ParameterCollection)
Declaration
public bool Equals(ParameterCollection other)
Parameters
Parameter
|
Returns
System.
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.
|
Overrides
IndexOf(String)
Determines the index of a specific parameter in the
Parameter
Declaration
public int IndexOf(string name)
Parameters
System. The parameter name used to locate the
parameter in the Parameter |
Returns
System. The index of parameter if found in the
Parameter |
InsertItem(Int32, Parameter)
Declaration
protected override void InsertItem(int index, Parameter item)
Parameters
System.
|
Parameter
item
|
Overrides
SetItem(Int32, Parameter)
Declaration
protected override void SetItem(int index, Parameter item)
Parameters
System.
|
Parameter
item
|
Overrides
ToString()
Declaration
public override string ToString()
Returns
System.
|