Provides static utility methods for validating and creating strings
representing names.
These methods should be used when creating names for elements in the data manager, like a data table or a data column.
These methods should be used when creating names for elements in the data manager, like a data table or a data column.
Inheritance Hierarchy
Spotfire.Dxp.DataNameString
Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax
C#
public static class NameString
The NameString type exposes the following members.
Properties
Name | Description | |
---|---|---|
MaxLength | Gets the maximum length of a name string. |
Methods
Name | Description | |
---|---|---|
AreEquivalentNameStrings | Tests if two unnormalized strings represent the same name. | |
AsNormalizedNameString | Normalizes a name string by trimming at both ends
and converting to Unicode normal form C. | |
CreateUniqueName | Makes a suggested name string unique within a collection
by appending a suffix. Truncates the suggested name if it is too long
for a name string, and normalizes the name. | |
CreateUniqueNameCollection | Creates a collection of unique and normalized name strings
from a given set of original names. | |
IsValidName | Checks if a string can be used as a valid name. | |
IsValidUniqueName | Checks if an input string can be used as a name. | |
ValidateCustomPropertyName | Validates the name of a custom DataProperty.
|
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