Click or drag to resize

ITabularCollectionTValue, TCollection Interface

Defines methods to manipulate collections whose elements are arranged in rows and columns.

Namespace:  Novacta.Analytics
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
public interface ITabularCollection<TValue, TCollection>
where TCollection : Object, ITabularCollection<TValue, TCollection>

Type Parameters

TValue
The type of the values arranged in tabular form.
TCollection
The type used to assign or refer to multiple positions in the tabular collection.

The ITabularCollectionTValue, TCollection type exposes the following members.

Properties
  NameDescription
Public propertyItemIndexCollection, IndexCollection
Gets or sets the elements of this instance corresponding to the specified row and column indexes.
Public propertyItemIndexCollection, Int32
Gets or sets the elements of this instance corresponding to the specified row and column indexes.
Public propertyItemIndexCollection, String
Gets or sets the elements of this instance corresponding to the specified row and column indexes.
Public propertyItemInt32, IndexCollection
Gets or sets the elements of this instance corresponding to the specified row and column indexes.
Public propertyItemInt32, Int32
Gets or sets the element of this instance corresponding to the specified row and column indexes.
Public propertyItemInt32, String
Gets or sets the elements of this instance corresponding to the specified row and column indexes.
Public propertyItemString, IndexCollection
Gets or sets the elements of this instance corresponding to the specified row and column indexes.
Public propertyItemString, Int32
Gets or sets the elements of this instance corresponding to the specified row and column indexes.
Public propertyItemString, String
Gets or sets the elements of this instance corresponding to the specified row and column indexes.
Public propertyNumberOfColumns
Gets the number of columns of this instance.
Public propertyNumberOfRows
Gets the number of rows of this instance.
Top
Remarks

Dimensions

The dimensions of a ITabularCollectionTValue, TCollection can be inspected using the properties NumberOfRows and NumberOfColumns.

Indexing

In a tabular collection, elements are arranged in rows and columns. Zero-based indexes are assigned to rows and columns, so that each element can be identified by the indexes of the specific row and column on which it lies.

Let LaTeX equation be an instance whose type implements the ITabularCollectionTValue, TCollection interface, and consider its generic element

LaTeX equation

where LaTeX equation and LaTeX equation are the number of rows and columns of LaTeX equation, respectively.

Element LaTeX equation can be set or get through the indexer ItemInt32, Int32. Further overloads of the indexer enable the access to tabular sub-collections, as well.

See Also