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: 30.0.10915.3380 (30.0.10915.3380)
Syntax
C#
public static class NameString
The NameString type exposes the following members.
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.
|
Properties
Name | Description | |
---|---|---|
![]() ![]() | MaxLength | Gets the maximum length of a name string. |
Version Information
See Also