Search Results for

    Show / Hide Table of Contents

    Class FloatCollection

    Represents a collection of float values.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    FloatCollection
    Namespace: FastReport.Utils
    Assembly: FastReport.Base.dll
    Syntax
    public class FloatCollection : CollectionBase, IList, ICollection, IEnumerable

    Properties

    Item[Int32]

    Gets or sets the value at the specified index.

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

    Index of a value.

    Property Value
    Type Description
    System.Single

    The value at the specified index.

    Methods

    Add(Single)

    Adds a value to the end of this collection.

    Declaration
    public int Add(float value)
    Parameters
    Type Name Description
    System.Single value

    Value to add.

    Returns
    Type Description
    System.Int32

    Index of the added value.

    AddRange(Single[])

    Adds the specified values to the end of this collection.

    Declaration
    public void AddRange(float[] range)
    Parameters
    Type Name Description
    System.Single[] range

    Assign(FloatCollection)

    Copies values from another collection.

    Declaration
    public void Assign(FloatCollection source)
    Parameters
    Type Name Description
    FloatCollection source

    Collection to copy from.

    Contains(Single)

    Determines whether a value is in the collection.

    Declaration
    public bool Contains(float value)
    Parameters
    Type Name Description
    System.Single value

    The value to locate in the collection.

    Returns
    Type Description
    System.Boolean

    true if value is found in the collection; otherwise, false.

    IndexOf(Single)

    Returns the zero-based index of the first occurrence of a value.

    Declaration
    public int IndexOf(float value)
    Parameters
    Type Name Description
    System.Single value

    The value to locate in the collection.

    Returns
    Type Description
    System.Int32

    The zero-based index of the first occurrence of value within the entire collection, if found; otherwise, -1.

    Insert(Int32, Single)

    Inserts a value into this collection at the specified index.

    Declaration
    public void Insert(int index, float value)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index at which value should be inserted.

    System.Single value

    The value to insert.

    Remove(Single)

    Removes the specified value from the collection.

    Declaration
    public void Remove(float value)
    Parameters
    Type Name Description
    System.Single value

    Value to remove.

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