Add a new tags column.
Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax
C#
public DataColumn AddTagsColumn( string name, IList<string> tagValues )
Parameters
- name
- Type: SystemString
The name of the new tags column. - tagValues
- Type: System.Collections.GenericIListString
The initial list of tag values. The list cannot contain duplicates and if the empty string is not part of the list it will be added to the end. A string in the tag values collection cannot be longer than 150 characters.
Return Value
Type: DataColumnThe added tags column.
Exceptions
Exception | Condition |
---|---|
NameArgumentException | Thrown if the name of the column is not valid or already exists in the collection. |
Version Information
See Also