Add a new tags column.
Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 67.0.20819.4186 (67.0.20819.4186)
Syntax
C#
public DataColumn AddTagsColumn( string name, IList<string> tagValues )
Parameters
- name
- Type: System.String
The name of the new tags column. - tagValues
- Type: System.Collections.Generic.IList<String>
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
Supported in: 14.5, 14.4, 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also