NameStringCreateUniqueName Method TIBCO Spotfire 7.12 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: 30.0.11525.4184 (30.0.11525.4184)
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: 7.9, 7.8, 7.7, 7.6, 7.5, 7.12, 7.11, 7.10, 7.0
See Also

Reference