DataColumnCollection Class

Spotfire 14.3 API Reference
This is a collection of DataColumn columns in a DataTable. This class is used to retrieve columns and to add new columns.
Inheritance Hierarchy

SystemObject
  Node
    Spotfire.Dxp.Framework.DocumentModelDocumentNode
      Spotfire.Dxp.DataDataColumnCollection

Namespace:  Spotfire.Dxp.Data
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
[SerializableAttribute]
[PersistenceVersionAttribute(4, 0)]
public sealed class DataColumnCollection : DocumentNode, 
	IEnumerable<DataColumn>, IEnumerable

The DataColumnCollection type exposes the following members.

Properties

  NameDescription
Public propertyContext
Gets the context of this node.
(Inherited from DocumentNode.)
Public propertyCount
Gets the number of columns in the collection.
Public propertyIsAttached
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.)
Public propertyItemInt32
Get a column with a given index.
Public propertyItemString
Get a column with the given name.
Public propertyTransactions
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.)
Top
Methods

  NameDescription
Public methodAddCalculatedColumn
Add a new calculated column.
Public methodAddHierarchyColumn
Add a new hierarchy column.
Public methodAddTagsColumn
Add a new tags column.
Public methodContains
Check if this collection contains a column with the given name.
Public methodCreateUniqueName
Create a new unique column name from a suggestion. The suggested name is used if possible.
Public methodFindAll(String)
Find all columns which matches the given search pattern. For search syntax see Spotfire user manual.
Public methodFindAll(PredicateDataColumn)
Find all columns satisfying the Predicate.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsValidName
Check if the suggested column name is a valid unique name in the collection.
Public methodRemove(IEnumerableString)
Remove the columns with the given names.
Public methodRemove(String)
Remove the column with the given name.
Public methodRemove(DataColumn)
Remove the column from this collection.
Public methodRemove(IEnumerableDataColumn)
Remove columns from this collection.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Try to get a column with a given name.
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
Explicit interface implementationPrivate methodINodeContextGetAncestorT (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContextGetServiceT (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContextIsDescendantOf (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsBeginAggregatedTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteInvisibleTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteInvisibleTransaction2
Implements ExecuteInvisibleTransaction(Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteStickyTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteStickyTransaction2
Implements ExecuteStickyTransaction(Guid, Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteTransaction2
Implements ExecuteTransaction(Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Top
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference