Click or drag to resize

DataColumnCollection Class

[Missing <summary> documentation for "T:Altaxo.Data.DataColumnCollection"]

Inheritance Hierarchy

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class DataColumnCollection : SuspendableDocumentNodeWithSingleAccumulatedData<BaseColumnCollectionChangedEventArgs>, 
	IList<DataRow>, ICollection<DataRow>, IEnumerable<DataRow>, 
	IEnumerable, IDisposable, ICloneable

The DataColumnCollection type exposes the following members.

Constructors
 NameDescription
Public methodDataColumnCollection Constructs an empty collection with no parent.
Public methodDataColumnCollection(DataColumnCollection) Copy constructor.
Top
Properties
 NameDescription
Protected propertyAccumulatedEventData Gets the accumulated event data.
(Inherited from SuspendableDocumentNodeWithSingleAccumulatedDataT)
Public propertyColumnCount The number of columns in the collection.
Public propertyColumns Gets the data columns as an enumeration.
Public propertyColumnScripts Returns the collection of column scripts.
Protected propertyDebug_AbsolutePath Gets the absolute path of the node for debugging purposes.
(Inherited from SuspendableDocumentNodeBase)
Public propertyDeferredDataMemento Infrastructure - do not use this unless absolutely neccessary. Gets or sets the deferred data memento that helps to late load the data for this DataColumnCollection.
Public propertyIsDataDirty Is true if any data in a child DataColumn has changed since the last saving of the project. This flag is not set to true if other parts of this collection changed, for instance the column scripts.
Public propertyIsDirty Returns true if this object has outstanding changed not reported yet to the parent.
Public propertyIsDisposed Gets a value indicating whether this instance is disposed.
(Inherited from SuspendableDocumentNodeBase)
Public propertyIsDisposeInProgress Gets a value indicating whether for this instance dispose is in progress, or the instance is already disposed.
(Inherited from SuspendableDocumentNodeBase)
Public propertyIsResumeInProgress Gets a value indicating whether this instance is currently resuming the events.
(Inherited from SuspendableDocumentNode)
Public propertyIsSomeoneListeningToChanges Gets a value indicating whether someone is listening to changes. For this, either the ParentObject or the Changed event must be set.
(Inherited from SuspendableDocumentNodeBase)
Public propertyIsSuspended Gets a value indicating whether this instance is suspended.
(Inherited from SuspendableDocumentNode)
Public propertyIsSuspendedOrResumeInProgress Gets a value indicating whether this instance is suspended or resume is currently in progress.
(Inherited from SuspendableDocumentNode)
Public propertyItemInt32 Returns the column at index
C#
idx
. Sets the column at index
C#
idx
by copying data from the other column (not by replacing). An exception is thrown if the two columns are not of the same type.
Public propertyItemString Returns the column with name
C#
. Sets the column with name
C#
by copying data from the other column (not by replacing). An exception is thrown if the two columns are not of the same type.
Public propertyName Gets the name of this document node. Null is returned if the name is not set or unknown. The set accessor will for most nodes throw a InvalidOperationException, since the name can only be set on IProjectItems.
(Inherited from SuspendableDocumentNodeBase)
Public propertyParentObject Gets/sets the parent object this instance belongs to.
(Inherited from SuspendableDocumentNodeBase)
Public propertyRowCount The row count, i.e. the maximum of the row counts of all columns.
Top
Methods
 NameDescription
Protected methodAccumulateChangeData(Object, EventArgs) Accumulates the changes reported by the DataColumns.
(Overrides SuspendableDocumentNodeWithSingleAccumulatedDataTAccumulateChangeData(Object, EventArgs))
Protected methodAccumulateChangeData(Object, EventArgs, BaseColumnCollectionChangedEventArgs) Accumulates the changes reported by the DataColumns.
Protected methodAccumulatedChangeData_SetBackAfterResumeAndSuspend Sets the change data without further processing. This function is infrastructure and intended to use only in OnResume after the parent has suspended this node again.
(Inherited from SuspendableDocumentNodeWithSingleAccumulatedDataT)
Protected methodAccumulatedEventData_Clear Clears the accumulated event data.
(Inherited from SuspendableDocumentNodeWithSingleAccumulatedDataT)
Protected methodAccumulatedEventData_HasZeroOrOneEventArg Determines whether there is no or only one single event arg accumulated. If this is the case, the return value is true. If there is one event arg accumulated, it is returned in the argument singleEventArg. The return value is false if there is more than one event arg accumulated. In this case the singleEventArg is null on return, and the calling function should use AccumulatedEventData to enumerate all accumulated event args.
(Inherited from SuspendableDocumentNodeWithSingleAccumulatedDataT)
Public methodAdd(DataColumn) Adds a column by choosing a new unused name for that column automatically.
Public methodAdd(DataColumn, String) Add a column under the name
C#
name
.
Public methodAdd(DataColumn, String, ColumnKind) Adds a column with a given name and kind.
Public methodAdd(DataColumn, String, ColumnKind, Int32) Add a column with a given name, kind, and group number.
Public methodAppendAllColumns Appends data columns from DataTable src to the data in this table.
Public methodAppendAllColumnsToPosition Appends data columns from DataTable src to the data in this table by copying the new data to a specified row.
Public methodAppendAllColumnsWithSpace Appends data columns from DataTable src to the data in this table leaving some rows free inbetween.
Public methodAppendCopiedColumnFrom Appends a cloned column from another DataColumnCollection to this collection.
Public methodAppendRowFrom Appends a row to this table, which is copied from a source table.
Public methodAreAllColumnsOfTheSameType Tests whether or not all columns in this collection have the same type.
Public methodChangeColumnPosition Moves one or more columns to a new position.
Public methodChangeRowPosition Moves on or more rows in to a new position.
Protected methodChildCloneFromT Clones a node that is intended to use as child node of this instance (e.g. in collections). Consider using ChildCloneToMemberT(T, T) instead if the child node is stored in a member of this instance.
(Inherited from SuspendableDocumentNode)
Protected methodChildCloneToMemberT Sets a member variable that holds a child with a cloned instance of another variable. If an old instance member (provided in myChild exists and can not be used, it is disposed first. The node is then cloned using System.ICloneable. The resulting node's ParentObject is then set to this instance in order to maintain the parent-child relationship.
(Inherited from SuspendableDocumentNode)
Protected methodChildCloneToMemberAltT Set a member variable that holds a child node of this instance. The child node may or may not implement IDocumentLeafNode. The value to set may or may not implement ICloneable. If it implements ICloneable, then the member variable is set to a clone of the value. Otherwise, the member variable is set directly with the value. It helps to ensure the correct order: first, the child node is set to the new instance and then the old child node is disposed.
(Inherited from SuspendableDocumentNode)
Protected methodChildCopyToMemberT Copies a document node from another source into a member of this instance. If an old instance member (provided in myChild exists and can not be used, it is disposed first. The node is then copied using either Main.ICopyFrom or System.ICloneable. The resulting node's ParentObject is then set to this instance in order to maintain the parent-child relationship.
(Inherited from SuspendableDocumentNode)
Protected methodChildCopyToMemberOrCreateNewT Copies a document node from another source into a member of this instance. If an old instance member (provided in myChild exists and can not be used, it is disposed first. If the node is not null, the node is then copied using either Main.ICopyFrom or System.ICloneable. If the node is null, a new node is created using the provided generation function. The resulting node's ParentObject is then set to this instance in order to maintain the parent-child relationship.
(Inherited from SuspendableDocumentNode)
Protected methodChildDisposeMemberT Helper function to dispose a child node of this instance. It helps to ensure the correct order: first, the child node is set to null and only then the child node is disposed.
(Inherited from SuspendableDocumentNodeBase)
Protected methodChildSetMemberT Set a member variable that holds a child node of this instance. It helps to ensure the correct order: first, the child node is set to the new instance and then the old child node is disposed.
(Inherited from SuspendableDocumentNode)
Protected methodChildSetMemberAltT Set a member variable that holds a child node of this instance. The child node may or may not implement IDocumentLeafNode. It helps to ensure the correct order: first, the child node is set to the new instance and then the old child node is disposed.
(Inherited from SuspendableDocumentNode)
Public methodClearData Removes all rows. Same function as RemoveRowsAll.
Public methodClone Clones the collection and all columns in it (deep copy).
Public methodContains(DataColumn) Returns whether the column is contained in this collection.
Public methodContains(String) Test if a column of a given name is present in this collection.
Public methodContainsColumn(DataColumn) Returns whether the column is contained in this collection.
Public methodContainsColumn(String) Test if a column of a given name is present in this collection.
Public methodCopyAllColumnsFrom Deletes all columns in the collection, and then copy all columns from the source table.
Public methodCopyAllColumnsWithoutDataFrom Deletes all columns in the collection, and then copy all columns (but without data) from the source table.
Public methodCopyOrReplaceOrAdd Copies the data of the column (columns have same type, index is inside bounds), or replaces the column (columns of different types, index inside bounds), or adds the column (index outside bounds).
Public methodCountEvent Counts the number of events during the suspend state. Every call to this function will increment the event counter by 1 (but only in the suspended state). The event counter will be reset to zero when the object is resumed.
(Inherited from SuspendableDocumentNode)
Public methodDeleteXProperty Removes the x-property from all columns in the group nGroup.
Public methodDispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from SuspendableDocumentNodeBase)
Protected methodDispose(Boolean) Disposes the collection and all columns in it.
(Overrides SuspendableDocumentNodeDispose(Boolean))
Public methodEhChildChanged Used by childs of this object to inform us about a change in their state.
(Inherited from SuspendableDocumentNode)
Public methodEhParentTunnelingEventHappened Is called by the parent when a tunneling event happened in the parent.
(Inherited from SuspendableDocumentNode)
Protected methodEhSelfChanged Called if some (simple) member or property of this instance itself has changed.
(Inherited from SuspendableDocumentNode)
Public methodEhSelfTunnelingEventHappened(TunnelingEventArgs) Is called by this instance if a tunneling event happened into this instance. The tunneling event triggers the TunneledEvent and is additionally distributed to all childs of this instance.
(Inherited from SuspendableDocumentNodeBase)
Public methodEhSelfTunnelingEventHappened(TunnelingEventArgs, Boolean) Is called by this instance if a tunneling event happened into this instance. The tunneling event triggers the TunneledEvent and is - depending on the provided parameter - also distributed to all childs of this instance.
(Inherited from SuspendableDocumentNode)
Public methodEnsureDeferredDataAreLoaded Ensures that the data for this collection are loaded.
Public methodEnsureExistence Either returns an existing column with name columnname and type expectedtype or creates a new column of the provided type.
Public methodEnsureExistenceAtPositionStrictly(Int32, String, Type, ColumnKind, Int32) Ensures the existence of a column with exactly the provided properties at the provided position.
Public methodEnsureExistenceAtPositionStrictly(Int32, String, Boolean, Type, ColumnKind, Int32) Ensures the existence of a column with exactly the provided properties at the provided position.
Public methodEnsureExistenceAtPositionStrictlyTDataCol(Int32, String, ColumnKind, Int32) Ensures the existence of a column with exactly the provided properties at the provided position.
Protected methodEnsureUniqueColumnKindsForIndependentVariables Ensures that for a given group number there is only one column for each independent variable (X,Y,Z).
Public methodEnumerateFromHereToLeaves Enumerates all document node including this node, its child nodes, its child-child nodes up to the leaf nodes.
(Inherited from SuspendableDocumentNode)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Finalizes an instance of the SuspendableDocumentNodeBase class.
(Inherited from SuspendableDocumentNodeBase)
Public methodFindNewColumnName Finds a new unique column name.
Public methodFindUniqueColumnName Get a unique column name based on a provided string.
Protected methodFindUniqueColumnNameWithBase Get a unique column name based on a provided string. If a column with the name of the provided string already exists, a new name is created by appending a dot and then A-ZZ.
Protected methodFindUniqueColumnNameWithoutBase Get a unique column name based on regular naming from A to ZZ.
Public methodFindXColumnOf Using a given column, find the related X column of this.
Public methodFindXColumnOfGroup Returns the X column of the column group
C#
nGroup
.
Public methodFindYColumnOf Using a given column, find the related Y column of this.
Public methodFindYColumnOfGroup Returns the Y column of the column group
C#
nGroup
.
Public methodGetChildObjectNamed Returns the column with the name
C#
name
.
(Overrides SuspendableDocumentNodeGetChildObjectNamed(String))
Public methodGetColumnGroup(DataColumn) Returns the goup number of the column
C#
datac
.
Public methodGetColumnGroup(Int32) Returns the goup number of the column at index
C#
idx
Public methodGetColumnKind(DataColumn) Returns the kind of the column
C#
datac
.
Public methodGetColumnKind(Int32) Returns the column kind of the column at index
C#
idx
Public methodGetColumnName(DataColumn) Returns the name of a column.
Public methodGetColumnName(Int32) Returns the name of the column at position idx.
Public methodGetColumnNames Returns an array containing all column names that are contained in this collection.
Public methodGetColumnNumber Returns the position of the column in the Collection.
Protected methodGetDocumentNodeChildrenWithName
(Overrides SuspendableDocumentNodeGetDocumentNodeChildrenWithName)
Public methodGetEnumerator 
Public methodGetGroupNumbersAll Gets all group numbers in this table as a sorted set of numbers.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetListOfColumnsWithGroupNumber Gets all columns with the provided group number.
Public methodGetNameDictionaryOfColumnsWithGroupNumber Gets all columns with the provided group number as a dictionary where the key is the column name and the value is the column itself.
Public methodGetNameOfChildObject Retrieves the name of a child column
C#
.
(Overrides SuspendableDocumentNodeGetNameOfChildObject(IDocumentLeafNode))
Public methodGetNamesOfColumnsWithGroupNumber Gets an enumeration of all the names of columns with a given group number.
Public methodStatic memberGetNextColumnName Calculates a new column name dependend on the last name. You have to check whether the returned name is already in use by yourself.
Public methodStatic memberGetParentDataColumnCollectionOf(DataColumn) Gets the parent column collection of a column.
Public methodStatic memberGetParentDataColumnCollectionOf(IDocumentLeafNode) Gets the parent data column collection of a child object.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetUnusedColumnGroupNumber This function will return the smallest possible group number, which is currently not in use.
Protected methodHandleHighPriorityChildChangeCases
(Overrides SuspendableDocumentNodeHandleHighPriorityChildChangeCases(Object, EventArgs))
Protected methodHandleLowPriorityChildChangeCases Handles the cases when a child changes, but a reaction is neccessary only if the table is not suspended currently.
(Overrides SuspendableDocumentNodeHandleLowPriorityChildChangeCases(Object, EventArgs))
Public methodHaveMultipleGroups Determines if this collections has Columns only with one group number, or if it has columns with multiple group numbers.
Protected methodInsert(DataColumn, DataColumnCollectionDataColumnInfo, Int32) Inserts multiple DataColumns into the collection at index nDestinationIndex. The caller must garantuee, that the names are not already be present!
Protected methodInsert(DataColumn, DataColumnCollectionDataColumnInfo, Int32, Boolean) Inserts multiple DataColumns into the collection at index nDestinationIndex. The caller must garantuee, that the names are not already be present, or the argument renameColumnsIfNecessary must be set to true!
Public methodInsertRow Insert an empty row at the provided row number.
Public methodInsertRows Insert a number of empty rows in all columns.
Public methodIsColumnOfType Check if the named column is of the expected type.
Public methodStatic memberIsColumnStructureCompatible 
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodMergeColumnTypesFrom 
Public methodMoveColumnsTo Moves some columns of this collection to another collection.
Protected methodNotifyChildrenTunnelingEventHappened Notifies the child nodes of this instance that a tunneling event has happened.
(Inherited from SuspendableDocumentNode)
Protected methodOnAboutToBeResumed Is called when the suspend level is still 1 (one), but is about to fall to zero, i.e. shortly before the call to OnResume(Int32). This function is not called before OnResumeSilently(Int32)!
(Inherited from SuspendableDocumentNode)
Protected methodOnChanged Fires the change event with the EventArgs provided in the argument.
(Inherited from SuspendableDocumentNodeBase)
Protected methodOnResume Is called when the object is resumed, i.e. change notifications are allowed again. During the execution of this function, the [P:IsResumeInProgress] property will return true to indicate that the resume is currently in progress.
(Inherited from SuspendableDocumentNode)
Protected methodOnResumeSilently Is called when the suspend level falls down from 1 to zero by a call to ResumeSilently. This implementation disarma the suspendTokens of the childs of this object, deletes any accumulated events, and does not send any change event to the parent or the listeners of the Change event.
(Inherited from SuspendableDocumentNode)
Protected methodOnSuspended Called when the suspend level has just gone from 0 to 1, i.e. the object was suspended.
(Inherited from SuspendableDocumentNode)
Protected methodOnTunnelingEvent
(Overrides SuspendableDocumentNodeBaseOnTunnelingEvent(IDocumentLeafNode, TunnelingEventArgs))
Protected methodRefreshColumnIndices This will refresh the column number information in the m_ColumnInfo collection of DataColumnCollectionDataColumnInfo.
Public methodRefreshRowCount Refreshes the row count by observing all columns.
Public methodRefreshRowCount(Boolean) Refreshes the row count.
Public methodRemoveColumn(DataColumn) Remove the column given as the argument.
Public methodRemoveColumn(Int32) Removes the column at the given index.
Public methodRemoveColumns(IAscendingIntegerCollection) 
Public methodRemoveColumns(Int32, Int32) Removes a number of columns of the collection.
Public methodRemoveColumnsAll Removes all columns of the collection.
Public methodRemoveRow Removes a single row of all columns.
Public methodRemoveRowInGroup Removes a row in a group of columns.
Public methodRemoveRows(IAscendingIntegerCollection) Removes the
C#
selectedRows
from the table.
Public methodRemoveRows(Int32, Int32) Removes a number of rows from all columns.
Public methodRemoveRowsAll Removes all rows.
Public methodRemoveRowsInColumns Removes the
C#
selectedRows
from the table.
Public methodRemoveRowsInGroup(IAscendingIntegerCollection, Int32) Removes rows in group of columns.
Public methodRemoveRowsInGroup(IEnumerableInt32, Int32) Removes rows in group of columns.
Public methodRemoveRowsInGroup(Int32, Int32, Int32) Removes rows in a group of columns.
Public methodReplace Replace an existing column at index
C#
index
by a new column
C#
newCol.
Public methodReplaceOrAdd Replace the column at index
C#
index
(if index is inside bounds) or add the column.
Public methodResume(ISuspendToken) Resumes changed events by calling Resume for the provided suspend token, and setting the reference to the suspend token to null. If Event data were accumulated during the suspended state, a changed event is triggered for each event data.
(Inherited from SuspendableDocumentNodeBase)
Public methodResume(ISuspendToken, EventFiring) Resumes changed events, either with taking the accumulated event data into account (see Resume(ISuspendToken)) or discarding the accumulated event data (see ResumeSilently(ISuspendToken), depending on the provided argument eventFiring.
(Inherited from SuspendableDocumentNodeBase)
Public methodResumeCompleteTemporarily Resumes the object completely for only a short time. Thus, if object was suspended before, it will be suspended again when the function returns.
(Inherited from SuspendableDocumentNode)
Public methodResumeCompleteTemporarilyGetToken Resumes the object completely for the time the returned token is referenced and not disposed. The return value is a token that had 'absorbed' the suspend count of the object, resulting in the suspend count of the object dropped to 0 (zero). When the returned token is finally disposed, the suspend count of the object is increased again by the 'absorbed' suspend count.
(Inherited from SuspendableDocumentNode)
Public methodResumeSilently Resumes changed events by calling Resume for the provided suspend token, and setting the reference to the suspend token to null. All event data accumulated during the suspended state are discarded, and thus no change event is triggered even if the instance has changed during the suspended state.
(Inherited from SuspendableDocumentNodeBase)
Public methodSetColumnGroup Sets the group number of the column with the given column number
C#
idx
.
Public methodSetColumnKind(DataColumn, ColumnKind) Sets the kind of the column.
Public methodSetColumnKind(Int32, ColumnKind) Sets the kind of the column with column number
C#
idx
.
Public methodSetColumnKind(String, ColumnKind) Sets the kind of the column with name columnName.
Public methodSetColumnName(DataColumn, String) Sets the name of the column
C#
datac
.
Public methodSetColumnName(Int32, String) Sets the name of the column at position
C#
index
.
Public methodSetColumnName(String, String) Rename the column with the name
C#
oldName
to
C#
newName
.
Public methodSetDataDirty Sets the data dirty flag. Setting this flag will force the table to be serialized during the next project saving.
Public methodSetDisposeInProgress Sets the flag that dispose is in progress for this node and all child nodes recursively.
(Inherited from SuspendableDocumentNode)
Protected methodSetMemberAndRaiseSelfChangedT(NullableT, NullableT) Sets a member variable of this instance and raise a change event with Empty if the new value is different from the old value. The comparison is done using the IEquatableT interface of the member variable. Note: to set members that implement IDocumentNode please use the Child... functions.
(Inherited from SuspendableDocumentNodeBase)
Protected methodSetMemberAndRaiseSelfChangedT(T, T) Sets a member variable of this instance and raise a change event with Empty if the new value is different from the old value. The comparison is done using the IEquatableT interface of the member variable. Note: to set members that implement IDocumentNode please use the Child... functions.
(Inherited from SuspendableDocumentNodeBase)
Protected methodSetMemberEnumAndRaiseSelfChangedT Sets a member variable (which is an Enum) of this instance and raise a change event with Empty if the new value is different from the old value. The comparison is done using the IEquatableT interface of the member variable. Note: to set members that implement IDocumentNode please use the Child... functions.
(Inherited from SuspendableDocumentNodeBase)
Public methodSuspendGetToken Suspend will increase the SuspendLevel.
(Inherited from SuspendableDocumentNode)
Public methodSwapColumnPositions 
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetColumn Returns the column with name
C#
.
Public methodTryGetName Test if this item already has a name.
(Inherited from SuspendableDocumentNodeBase)
Top
Events
 NameDescription
Public eventChangedFired when something in the object has changed, and the object is not suspended.
(Inherited from SuspendableDocumentNodeBase)
Public eventTunneledEvent The event that is fired when the object is disposed. First argument is the sender, second argument is the original source, and third argument is the event arg.
(Inherited from SuspendableDocumentNodeBase)
Top
Fields
 NameDescription
Protected field_accumulatedEventData Holds the accumulated change data.
(Inherited from SuspendableDocumentNodeWithSingleAccumulatedDataT)
Protected field_archiveMemento This field is set to the IProjectArchiveEntryMemento that indicates in which entry in the project archive the table data is stored. This member is set independent of whether data should be late loaded with the memento or not! (The indicator for that is stored in _deferredDataLoader).
Protected field_columnInfoByColumn This hashtable has the DataColumn as keys and DataColumnCollectionDataColumnInfo objects as values. It stores information like the position of the column, the kind of the column.
Protected field_columnsByName Holds the columns (value) accessible by name (key).
Protected field_columnsByNumber The collection of the columns (accessible by number).
Protected field_columnScripts ColumnScripts, key is the corresponding column, value is of type WorksheetColumnScript
Protected field_deferredDataLoader This object can have three states: if it is a IProjectArchiveEntryMemento, then this indicates that data have to be loaded using this memento. If some other object, this indicates that the loading of data is currently in progress. If null, the data have been loaded. In this case, the archive memento is stored in another field (see _archiveMemento ).
Protected field_hasNumberOfRowsDecreased Indicates that the cached row count is no longer valid and can be lesser than the actual value in m_NumberOfRows (but not greater).
Protected field_isDataDirty Is true if any data in a child DataColumn has changed since the last saving of the project. This flag is not set to true if other parts of this collection changed, for instance the column scripts.
Protected field_lastColumnNameGenerated The last column name autogenerated by this class.
Protected field_nameOfLastColumnAdded Name of the last column added to this collection.
Protected field_numberOfRows Cached number of rows. This is the maximum of the Count of all DataColumns contained in this collection.
Protected field_parent The parent object this instance belongs to.
(Inherited from SuspendableDocumentNodeBase)
Protected field_suspendTokensOfChildsStores the suspend tokens of the suspended childs of this object.
(Inherited from SuspendableDocumentNode)
Protected field_triedOutRegularNaming If true, we recently have tested the column names A-ZZ and all column names were in use. This flag should be resetted if a column deletion or renaming operation took place.
Public fieldStatic memberDeserialiationInfoProperty_DeferredDataDeserializationUsed during deserialization to store the info how to read the data at a later time.
Public fieldStatic memberDeserialiationInfoProperty_RestoreDataOnly 
Public fieldStatic memberSerialiationInfoProperty_StoreDataOnlyIf set, only the data should be stored, but e.g. not the scripts etc.
Top
Extension Methods
 NameDescription
Public Extension MethodAddRangeDataRow Adds a range of items to a collection.
(Defined by ListExtensions)
Public Extension MethodCopyRowToDataColumn Copies a specified row of the DataColumnCollection into another column.
(Defined by RowCommands)
Public Extension MethodCopyRowToRow Copies one row of a DataColumnCollection to another row in the same or in another DataColumnCollection. The columns in the source collection are mapped to the columns in the destination collection by name; if a column does not exist in the destination collection, this column is added to the destination collection.
(Defined by RowCommands)
Public Extension MethodCopyRowToRowByColumnIndex Copies one row of a DataColumnCollection to another row in the same or in another DataColumnCollection. The columns in the source collection are mapped to the columns in the destination collection by index (plus an optional offset).
(Defined by RowCommands)
Public Extension MethodCopyRowToRowByColumnName Copies one row of a DataColumnCollection to another row in the same or in another DataColumnCollection. The columns in the source collection are mapped to the columns in the destination collection by name; if a column does not exist in the destination collection, this source column is silently ignored and therefore is not copied.
(Defined by RowCommands)
Public Extension MethodDoStatisticsOnColumns Calculates statistics of selected columns. Returns a new table where the statistical data will be written to.
(Defined by Statistics)
Public Extension MethodDoStatisticsOnColumns Calculates statistics of selected columns. Creates a new table where the statistical data will be written to.
(Defined by Statistics)
Public Extension MethodDoStatisticsOnRows Calculates statistics of selected columns. Creates a new table where the statistical data will be written to.
(Defined by Statistics)
Public Extension MethodDoStatisticsOnRows Calculates statistics of selected columns. Creates a new table where the statistical data will be written to.
(Defined by Statistics)
Public Extension MethodEnsureColumnsExistInDestinationCollection Ensures that the selected columns in the source DataColumnCollection do also exist in the destination DataColumnCollection.
(Defined by RowCommands)
Public Extension MethodExchangePositionsDataRow Exchange the positions of two items in a list.
(Defined by ListExtensions)
Public Extension MethodFillWithDataRow
(Defined by ListExtensions)
Public Extension MethodFirstOrDataRow 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 MethodFlattenFromRootToLeavesDataRow 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 MethodForEachDoDataRow Executes an action for each element of the sequence.
(Defined by EnumerableExtensions)
Public Extension MethodGetColumnIndicesWithGroupNumber Gets the indices of all columns that have the group number given by the argument.
(Defined by ColumnCommands)
Public Extension MethodGetTypeOfColumnForRowReplacement Returns the type of column which is most appropriate for replacement of a data row.
(Defined by RowCommands)
Public Extension MethodHasSingleElementDataRow Determines whether the specified enumeration has exactly one element.
(Defined by EnumerableExtensions)
Public Extension MethodIndexOfDataRow Gets the index of an item in a enumeration or list.
(Defined by ListExtensions)
Public Extension MethodIndexOfFirstDataRow Gets the index the of first item in list that fulfills the predicate predicate
(Defined by ListExtensions)
Public Extension MethodIndexOfFirstDataRow Gets the index the of first item in list that fulfills the predicate predicate
(Defined by ListExtensions)
Public Extension MethodIndexOfLastDataRow Gets the index the of last item in list that fulfills the predicate predicate
(Defined by ListExtensions)
Public Extension MethodIndexOfMaxDataRowReturn 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 MethodIndexOfMinDataRowReturn 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 MethodIndicesInt32AndValuesWhereDataRow 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 MethodIndicesInt32AndValuesWhereDataRow 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 MethodIndicesInt32WhereDataRow Returns the indices of the elements which fullfill a given condition, given by the element's value.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32WhereDataRow 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 MethodIndicesOfMinMaxDataRowReturn 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 MethodIsEmptyDataRow Determines whether the specified enumeration is empty.
(Defined by EnumerableExtensions)
Public Extension MethodJoinConditionalDataRow, T2 Takes a join of two sequences, but only takes into account those pair, which fulfill a given condition.
(Defined by EnumerableExtensions)
Public Extension MethodJoinConditionalDataRow, 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 MethodLastOrDataRow 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 MethodMaxElementDataRow, 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 MethodMaxOrDefaultDataRow, M Evaluates the maximum of a enumeration of elements, or returns a default value if the series is empty.
(Defined by EnumerableExtensions)
Public Extension MethodMoveItemToIndexDataRow Moves a item to another list position. All items inbetween the interval originalIndex and destinationIndex will slip by one position (except the item at originalIndex, which will of course move to destinationIndex.
(Defined by ListExtensions)
Public Extension MethodMoveSelectedItemsDataRow Moves the selected items towards higher indices (for steps > 0) or lower indices (for steps < 0).
(Defined by ListExtensions)
Public Extension MethodMoveSelectedItemsToMaximumIndexDataRow Moves the selected item so that the selected item with the formerly highest index is afterwards at the end of the list (at index list.Count-1).
(Defined by ListExtensions)
Public Extension MethodMoveSelectedItemsToMinimumIndexDataRow Moves the selected item so that the selected item with the formerly lowest index is afterwards at the start of the list (at index 0).
(Defined by ListExtensions)
Public Extension MethodMoveSelectedItemsTowardsHigherIndicesDataRow Moves the selected items towards higher indices.
(Defined by ListExtensions)
Public Extension MethodMoveSelectedItemsTowardsLowerIndicesDataRow Moves the selected items towards lower indices.
(Defined by ListExtensions)
Public Extension MethodRemoveWhereDataRow Removes all items for which the predicate function returns true.
(Defined by ListExtensions)
Public Extension MethodRemoveWhereDataRow Removes all items for which the predicate function returns true.
(Defined by ListExtensions)
Public Extension MethodSelectCombinationDataRow Select a random combination, without repetition, from a data sequence by selecting k elements in original order.
(Defined by Combinatorics)
Public Extension MethodSelectCombinationWithRepetitionDataRow Select a random combination, with repetition, from a data sequence by selecting k elements in original order.
(Defined by Combinatorics)
Public Extension MethodSelectPermutationDataRow 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 MethodSelectVariationDataRow 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 MethodSelectVariationWithRepetitionDataRow Select a random variation, with repetition, from a data sequence by randomly selecting k elements in random order.
(Defined by Combinatorics)
Public Extension MethodSetColumnGroupNumber Sets the group number of the currently selected columns to
C#
nGroup
.
(Defined by ColumnCommands)
Public Extension MethodSortRows Sorts the data rows of a DataColumnCollection (more accurate: of all columns belonging to a column group, see below), using a specified column.
(Defined by Sorting)
Public Extension MethodSortRows Sorts the data rows of a DataColumnCollection (more accurate: of all columns belonging to a column group, see below), using a specified column.
(Defined by Sorting)
Public Extension MethodTakeAllButLastDataRow Takes all elements of the enumeration except the last element.
(Defined by EnumerableExtensions)
Public Extension MethodTakeFromUpperIndexExclusiveDownToLowerIndexInclusiveDataRow Takes all elements of a list, starting from index upperIndexExclusive - 1 down to the index lowerIndexInclusive.
(Defined by EnumerableExtensions)
Public Extension MethodTakeFromUpperIndexInclusiveDownToLowerIndexInclusiveDataRow Takes all elements of a list, starting from index upperIndexInclusive down to the index lowerIndexInclusive.
(Defined by EnumerableExtensions)
Public Extension MethodThisOrEmptyDataRow Returns either the provided enumeration, or if it is null, an empty enumeration.
(Defined by EnumerableExtensions)
Public Extension MethodTryGetFirstAndLastDataRow Returns true and the first and last value of the enumeration, or, if the enumeration is empty, returns false.
(Defined by EnumerableExtensions)
Public Extension MethodTryGetSingleElementDataRow Try to get the one and only element of the collection.
(Defined by EnumerableExtensions)
Top
See Also