Show / Hide Table of Contents

Class FloatCollection

Represents a collection of float values.

Inheritance
System.Object
System.Collections.CollectionBase
FloatCollection
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Collections.CollectionBase.Clear()
System.Collections.CollectionBase.RemoveAt(System.Int32)
System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.CollectionBase.GetEnumerator()
System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
System.Collections.CollectionBase.OnClear()
System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
System.Collections.CollectionBase.OnValidate(System.Object)
System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)
System.Collections.CollectionBase.OnClearComplete()
System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
System.Collections.CollectionBase.InnerList
System.Collections.CollectionBase.List
System.Collections.CollectionBase.Capacity
System.Collections.CollectionBase.Count
System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FastReport.Utils
Assembly: FastReport.OpenSource.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.

Implements

System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Back to top Generated by DocFX