This is a collection of DataColumn columns in a DataTable. This class is used
to retrieve columns and to add new columns.
Inheritance Hierarchy
Node
Spotfire.Dxp.Framework.DocumentModel.DocumentNode
Spotfire.Dxp.Data.DataColumnCollection
Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 59.0.18126.8552 (59.0.18126.8552)
Syntax
C#
[SerializableAttribute] [PersistenceVersionAttribute(4, 0)] public sealed class DataColumnCollection : DocumentNode, IEnumerable<DataColumn>, IEnumerable
The DataColumnCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | Context |
Gets the context of this node.
(Inherited from DocumentNode.) |
![]() | Count | Gets the number of columns in the collection.
|
![]() | IsAttached |
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.) |
![]() | Item[Int32] | Get a column with a given index.
|
![]() | Item[String] | Get a column with the given name.
|
![]() | Transactions |
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.) |
Methods
Name | Description | |
---|---|---|
![]() | AddCalculatedColumn | Add a new calculated column.
|
![]() | AddHierarchyColumn | Add a new hierarchy column.
|
![]() | AddTagsColumn | Add a new tags column.
|
![]() | Contains | Check if this collection contains a column with the
given name.
|
![]() | CreateUniqueName | Create a new unique column name from a suggestion. The
suggested name is used if possible.
|
![]() | FindAll(String) | Find all columns which matches the given search pattern.
For search syntax see TIBCO Spotfire user manual.
|
![]() | FindAll(Predicate<DataColumn>) | Find all columns satisfying the Predicate.
|
![]() | GetEnumerator |
Returns an enumerator that iterates through the collection.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsValidName | Check if the suggested column name is a valid unique
name in the collection.
|
![]() | Remove(IEnumerable<String>) | Remove the columns with the given names.
|
![]() | Remove(String) | Remove the column with the given name.
|
![]() | Remove(DataColumn) | Remove the column from this collection.
|
![]() | Remove(IEnumerable<DataColumn>) | Remove columns from this collection.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TryGetValue | Try to get a column with a given name.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() | IEnumerable.GetEnumerator |
Returns an enumerator that iterates through a collection.
|
![]() ![]() | INodeContext.GetAncestor<T> |
Implements GetAncestor<T>().
(Inherited from DocumentNode.) |
![]() ![]() | INodeContext.GetService<T> |
Implements GetService<T>().
(Inherited from DocumentNode.) |
![]() ![]() | INodeContext.IsDescendantOf |
Implements IsDescendantOf(DocumentNode).
(Inherited from DocumentNode.) |
![]() ![]() | ITransactions.BeginAggregatedTransaction |
Implements BeginAggregatedTransaction().
(Inherited from DocumentNode.) |
![]() ![]() | ITransactions.ExecuteInvisibleTransaction |
Implements ExecuteInvisibleTransaction(Executor).
(Inherited from DocumentNode.) |
![]() ![]() | ITransactions.ExecuteStickyTransaction |
Implements ExecuteStickyTransaction(Guid, Executor).
(Inherited from DocumentNode.) |
![]() ![]() | ITransactions.ExecuteTransaction |
Implements ExecuteTransaction(Executor).
(Inherited from DocumentNode.) |
Version Information
Supported in: 12.3, 12.2, 12.1, 12.0, 11.8, 11.7, 11.6, 11.5, 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also