Click or drag to resize

DataRow Structure

Wrapper struct for a row of a data column collection.
Inheritance Hierarchy
System.Object
  System.ValueType
    Altaxo.Data.DataRow

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntax
C#
public struct DataRow : IEnumerable<AltaxoVariant>, 
	IEnumerable

The DataRow type exposes the following members.

Constructors
 NameDescription
Public methodDataRow Constructor
Top
Properties
 NameDescription
Public propertyColumnCollection Gets the underlying data column collection.
Public propertyIsEmpty Gets a value indicating that is instance is not initialized.
Public propertyItem[Int32] Accesses one field of the row.
Public propertyItem[String] Accesses one field of the row.
Public propertyRowIndex Gets the index of the wrapped row.
Top
Methods
 NameDescription
Public methodCopyLazyByNameFrom Copies data from another row into this row. The data is copied using the name of the column. It is copied lazy, thus it is not an error some columns don't exist on the destination or source, or if the data types doesn't match.
Public methodEqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
Public methodGetEnumerator Gets the enumeratur that iterates through all elements of this row.
Public methodGetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top
Extension Methods
 NameDescription
Public Extension MethodFirstOr<AltaxoVariant> Returns the first value of the enumeration, or, if the enumeration is empty, the other value provided in the arguments.
(Defined by EnumerableExtensions)
Public Extension MethodFlattenFromRootToLeaves<AltaxoVariant> Converts a recursive data structure into a flat list. The root element is enumerated before its corresponding child element(s).
(Defined by EnumerableExtensions)
Public Extension MethodForEachDo<AltaxoVariant> Executes an action for each element of the sequence.
(Defined by EnumerableExtensions)
Public Extension MethodHasSingleElement<AltaxoVariant> Determines whether the specified enumeration has exactly one element.
(Defined by EnumerableExtensions)
Public Extension MethodIndexOf<AltaxoVariant> Gets the index of an item in a enumeration or list.
(Defined by ListExtensions)
Public Extension MethodIndexOfFirst<AltaxoVariant> Gets the index the of first item in list that fulfills the predicate predicate
(Defined by ListExtensions)
Public Extension MethodIndexOfFirst<AltaxoVariant> Gets the index the of first item in list that fulfills the predicate predicate
(Defined by ListExtensions)
Public Extension MethodIndexOfMax<AltaxoVariant>Return the index of the element with the maximum value in an enumerable. If multiple elements with the same minimal value exist, the index of the first element in the sequence is returned.
(Defined by EnumerableExtensions)
Public Extension MethodIndexOfMin<AltaxoVariant>Return the index of the element with the minimum value in an enumerable. If multiple elements with the same minimal value exist, the index of the first element in the sequence is returned.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32AndValuesWhere<AltaxoVariant> Returns tuples of index and element of all elements in an enumeration which fullfill a given condition, given by the element's value.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32AndValuesWhere<AltaxoVariant> Returns tuples of index and element of all elements in an enumeration which fullfill a given condition, given by the element's value and its index.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32Where<AltaxoVariant> Returns the indices of the elements which fullfill a given condition, given by the element's value.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32Where<AltaxoVariant> Returns the indices of the elements which fullfill a given condition, given by the element's value and its index.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesOfMinMax<AltaxoVariant>Return the index of the element with the minimum value in an enumerable. If multiple elements with the same minimal value exist, the index of the first element in the sequence is returned.
(Defined by EnumerableExtensions)
Public Extension MethodIsEmpty<AltaxoVariant> Determines whether the specified enumeration is empty.
(Defined by EnumerableExtensions)
Public Extension MethodJoinConditional<AltaxoVariant, T2> Takes a join of two sequences, but only takes into account those pair, which fulfill a given condition.
(Defined by EnumerableExtensions)
Public Extension MethodJoinConditional<AltaxoVariant, T2, TResult> Takes a join of two sequences, but only takes into account those pair, which fulfill a given condition.
(Defined by EnumerableExtensions)
Public Extension MethodLastOr<AltaxoVariant> Returns the last value of the enumeration, or, if the enumeration is empty, the other value provided in the arguments.
(Defined by EnumerableExtensions)
Public Extension MethodMaxElement<AltaxoVariant, M> Gets the element of a IEnumerabe that evaluates by means of a conversion function to the maximal value. This is different from Select(x => conversion(x)).Max() insofar as it not returns the maximum value, but the original element x which converts to the maximum value.
(Defined by EnumerableExtensions)
Public Extension MethodMaxOrDefault<AltaxoVariant, M> Evaluates the maximum of a enumeration of elements, or returns a default value if the series is empty.
(Defined by EnumerableExtensions)
Public Extension MethodSelectCombination<AltaxoVariant> Select a random combination, without repetition, from a data sequence by selecting k elements in original order.
(Defined by Combinatorics)
Public Extension MethodSelectCombinationWithRepetition<AltaxoVariant> Select a random combination, with repetition, from a data sequence by selecting k elements in original order.
(Defined by Combinatorics)
Public Extension MethodSelectPermutation<AltaxoVariant> Select a random permutation from a data sequence by returning the provided data in random order. Implemented using Fisher-Yates Shuffling.
(Defined by Combinatorics)
Public Extension MethodSelectVariation<AltaxoVariant> Select a random variation, without repetition, from a data sequence by randomly selecting k elements in random order. Implemented using partial Fisher-Yates Shuffling.
(Defined by Combinatorics)
Public Extension MethodSelectVariationWithRepetition<AltaxoVariant> Select a random variation, with repetition, from a data sequence by randomly selecting k elements in random order.
(Defined by Combinatorics)
Public Extension MethodTakeAllButLast<AltaxoVariant> Takes all elements of the enumeration except the last element.
(Defined by EnumerableExtensions)
Public Extension MethodThisOrEmpty<AltaxoVariant> Returns either the provided enumeration, or if it is null, an empty enumeration.
(Defined by EnumerableExtensions)
Public Extension MethodTryGetFirstAndLast<AltaxoVariant> Returns true and the first and last value of the enumeration, or, if the enumeration is empty, returns false.
(Defined by EnumerableExtensions)
Public Extension MethodTryGetSingleElement<AltaxoVariant> Try to get the one and only element of the collection.
(Defined by EnumerableExtensions)
Top
See Also