Class ParameterCollection
Represents the collection of Parameter objects.
Inheritance
System.Object
System.Collections.CollectionBase
ParameterCollection
Inherited Members
Namespace: FastReport.Data
Assembly: FastReport.Base.dll
Syntax
public class ParameterCollection : FRCollectionBase, IList, ICollection, IEnumerable
Constructors
ParameterCollection(Base)
Initializes a new instance of the ParameterCollection class with default settings.
Declaration
public ParameterCollection(Base owner)
Parameters
Type | Name | Description |
---|---|---|
Base | owner | The owner of this collection. |
Properties
Item[Int32]
Gets or sets a parameter.
Declaration
public Parameter this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of a parameter in this collection. |
Property Value
Type | Description |
---|---|
Parameter | The parameter with specified index. |
Methods
Assign(ParameterCollection)
Copies the parameters from other collection.
Declaration
public void Assign(ParameterCollection source)
Parameters
Type | Name | Description |
---|---|---|
ParameterCollection | source | Parameters to copy from. |
CreateUniqueName(String)
Returns an unique parameter name based on given name.
Declaration
public string CreateUniqueName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The base name. |
Returns
Type | Description |
---|---|
System.String | The unique name. |
FindByName(String)
Finds a parameter by its name.
Declaration
public Parameter FindByName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of a parameter. |
Returns
Type | Description |
---|---|
Parameter | The Parameter object if found; otherwise null. |