NameString Class

Spotfire 14.3 API Reference
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.
Inheritance Hierarchy

SystemObject
  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

  NameDescription
Public propertyStatic memberMaxLength
Gets the maximum length of a name string.
Top
Methods

  NameDescription
Public methodStatic memberAreEquivalentNameStrings
Tests if two unnormalized strings represent the same name.
Public methodStatic memberAsNormalizedNameString
Normalizes a name string by trimming at both ends and converting to Unicode normal form C.
Public methodStatic memberCreateUniqueName
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.
Public methodStatic memberCreateUniqueNameCollection
Creates a collection of unique and normalized name strings from a given set of original names.
Public methodStatic memberIsValidName
Checks if a string can be used as a valid name.
Public methodStatic memberIsValidUniqueName
Checks if an input string can be used as a name.
Public methodStatic memberValidateCustomPropertyName
Validates the name of a custom DataProperty.
Top
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

Reference