NameString CreateUniqueName Method TIBCO Spotfire 6.5 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: 14.10.7525.5058 (14.10.7525.5058)
Syntax

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

Parameters

suggestedName
Type: System String
The suggested name.
takenNames
Type: System.Collections.Generic IEnumerable String 
The set of names.

Return Value

Type: String
A unique name string.
Version Information

Supported in: 6.5, 6.0, 5.5, 5.0, 4.5
See Also