NameStringCreateUniqueName Method

Spotfire 14.4 API Reference
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.

Namespace:  Spotfire.Dxp.Data
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 66.0.19621.1485 (66.0.19621.1485)
Syntax

C#
public static string CreateUniqueName(
	string suggestedName,
	IEnumerable<string> takenNames
)

Parameters

suggestedName
Type: SystemString
The suggested name.
takenNames
Type: System.Collections.GenericIEnumerableString
The set of names.

Return Value

Type: String
A unique name string.
Version Information

Supported in: 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

Reference