Search Results for

    Show / Hide Table of Contents

    Class CommandParameterCollection

    Represents the collection of CommandParameter objects.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    FRCollectionBase
    CommandParameterCollection
    Inherited Members
    FRCollectionBase.Owner
    FRCollectionBase.AddRange(Base[])
    FRCollectionBase.AddRange(ObjectCollection)
    FRCollectionBase.Add(Base)
    FRCollectionBase.Insert(Int32, Base)
    FRCollectionBase.Remove(Base)
    FRCollectionBase.IndexOf(Base)
    FRCollectionBase.Contains(Base)
    FRCollectionBase.ToArray()
    FRCollectionBase.Equals(FRCollectionBase)
    FRCollectionBase.CopyTo(FRCollectionBase)
    FRCollectionBase.OnInsert(Int32, Object)
    FRCollectionBase.OnRemove(Int32, Object)
    FRCollectionBase.OnClear()
    Namespace: FastReport.Data
    Assembly: FastReport.Base.dll
    Syntax
    public class CommandParameterCollection : FRCollectionBase, IList, ICollection, IEnumerable
    Remarks

    This class is used to store the list of parameters defined in the datasource. See the Parameters property for more details.

    Constructors

    CommandParameterCollection(Base)

    Initializes a new instance of the CommandParameterCollection class with default settings.

    Declaration
    public CommandParameterCollection(Base owner)
    Parameters
    Type Name Description
    Base owner

    The owner of this collection.

    Properties

    Item[Int32]

    Gets or sets a parameter.

    Declaration
    public CommandParameter this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index

    The index of a parameter in this collection.

    Property Value
    Type Description
    CommandParameter

    The parameter with specified index.

    Methods

    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 CommandParameter FindByName(string name)
    Parameters
    Type Name Description
    System.String name

    The name of a parameter.

    Returns
    Type Description
    CommandParameter

    The CommandParameter object if found; otherwise null.

    Back to top © 1998-2025 Copyright Fast Reports Inc.