Show / Hide Table of Contents

Class FRCollectionBase

Represents a collection of FastReport base objects.

Inheritance
System.Object
System.Collections.CollectionBase
FRCollectionBase
BandCollection
ColumnCollection
CommandParameterCollection
ConnectionCollection
CubeSourceCollection
DataSourceCollection
ParameterCollection
RelationCollection
TableCollection
TotalCollection
ObjectCollection
PageCollection
ReportComponentCollection
TableColumnCollection
TableRowCollection
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.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 FRCollectionBase : CollectionBase, IList, ICollection, IEnumerable

Constructors

FRCollectionBase()

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

Declaration
public FRCollectionBase()

FRCollectionBase(Base)

Initializes a new instance of the FRCollectionBase class with specified owner.

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

The owner of this collection.

Properties

Owner

Gets an owner of this collection.

Declaration
public Base Owner { get; }
Property Value
Type Description
Base

Methods

Add(Base)

Adds an object to the end of this collection.

Declaration
public int Add(Base value)
Parameters
Type Name Description
Base value

Object to add.

Returns
Type Description
System.Int32

Index of the added object.

AddRange(Base[])

Adds the specified elements to the end of this collection.

Declaration
public void AddRange(Base[] range)
Parameters
Type Name Description
Base[] range

Range of elements.

AddRange(ObjectCollection)

Adds the specified elements to the end of this collection.

Declaration
public void AddRange(ObjectCollection range)
Parameters
Type Name Description
ObjectCollection range

Collection of elements.

Contains(Base)

Determines whether an element is in the collection.

Declaration
public bool Contains(Base value)
Parameters
Type Name Description
Base value

The object to locate in the collection.

Returns
Type Description
System.Boolean

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

CopyTo(FRCollectionBase)

Copies the content to another collection.

Declaration
public void CopyTo(FRCollectionBase list)
Parameters
Type Name Description
FRCollectionBase list

The collection to copy to.

Equals(FRCollectionBase)

Determines whether two collections are equal.

Declaration
public bool Equals(FRCollectionBase list)
Parameters
Type Name Description
FRCollectionBase list

The collection to compare with.

Returns
Type Description
System.Boolean

true if collections are equal; false otherwise.

IndexOf(Base)

Returns the zero-based index of the first occurrence of an object.

Declaration
public int IndexOf(Base value)
Parameters
Type Name Description
Base value

The object 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, Base)

Inserts an object into this collection at the specified index.

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

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

Base value

The object to insert.

OnClear()

Declaration
protected override void OnClear()
Overrides
System.Collections.CollectionBase.OnClear()

OnInsert(Int32, Object)

Declaration
protected override void OnInsert(int index, object value)
Parameters
Type Name Description
System.Int32 index
System.Object value
Overrides
System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)

OnRemove(Int32, Object)

Declaration
protected override void OnRemove(int index, object value)
Parameters
Type Name Description
System.Int32 index
System.Object value
Overrides
System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)

Remove(Base)

Removes the specified object from the collection.

Declaration
public void Remove(Base value)
Parameters
Type Name Description
Base value

Object to remove.

ToArray()

Returns an array of collection items.

Declaration
public object[] ToArray()
Returns
Type Description
System.Object[]

Implements

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