ClassParameterCollection
Represents a collection of Parameter objects.
Definition
Namespace:Telerik.Reporting
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter("Telerik.Reporting.Design.ParameterCollectionConverter, Telerik.Reporting.Design, Version=19.3.26.121, Culture=neutral, PublicKeyToken=a9d7983dfcc261be")]
public class ParameterCollection : Collection<Parameter>
Inheritance: objectCollection<Parameter>ParameterCollection
Constructors
ParameterCollection()
Declaration
public ParameterCollection()
Properties
this[string]
Gets a Parameter by name.
Declaration
public Parameter this[string name] { get; }
Parameters
name
string
The name of the parameter.
Property Value
A parameter if found; otherwise null (Nothing)
Methods
Add(string, object)
Creates a Parameter with specific settings and adds it to the ParameterCollection or updates an existing one.
AddRange(IEnumerable<Parameter>)
Adds or updates a sequence of Parameter objects in the ParameterCollection.
Declaration
public void AddRange(IEnumerable<Parameter> collection)
Parameters
collection
IEnumerable<Parameter>
An enumerable collection of Parameter objects to add to or update in the ParameterCollection.
Remarks
The Parameter objects from the collection are either appended to the end of the ParameterCollection or updated in place if they already exist.
Contains(string)
Determines whether the ParameterCollection contains a parameter with a specific name.
Declaration
public bool Contains(string name)
Parameters
name
string
A string that specifies the parameter name for which to search the elements of the ParameterCollection.
Returns
bool
Returns a bool value indicating whether the ParameterCollection object contains a parameter with the specified name.
Equals(ParameterCollection)
TODO: Add documentation.
Declaration
public bool Equals(ParameterCollection other)
Parameters
other
Returns
bool
Equals(object)
TODO: Add documentation.
Declaration
public override bool Equals(object obj)
Parameters
obj
object
Returns
bool
Overrides
GetHashCode()
TODO: Add documentation.
Declaration
public override int GetHashCode()
Returns
int
Overrides
IndexOf(string)
Determines the index of a specific parameter in the ParameterCollection.
Declaration
public int IndexOf(string name)
Parameters
name
string
The parameter name used to locate the parameter in the ParameterCollection.
Returns
int
The index of parameter if found in the ParameterCollection; otherwise, -1.
InsertItem(int, Parameter)
TODO: Add documentation.
Declaration
protected override void InsertItem(int index, Parameter item)
Parameters
index
int
item
Overrides
SetItem(int, Parameter)
TODO: Add documentation.
Declaration
protected override void SetItem(int index, Parameter item)
Parameters
index
int
item
Overrides
ToString()
TODO: Add documentation.
Declaration
public override string ToString()
Returns
string
Overrides