Given a default name returns an unique name for the repository. The returned name is the default name by default, unless there are already items with the same name. e.g. given "Filter" the method will return "Filter" if there are no items called "Filter", otherwise "Filter (1)"

Namespace: Ico.WPF
Assembly: IcoWPFSpecialized (in IcoWPFSpecialized.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public string GetUniqueName(
	string defaultName
)
Visual Basic
Public Function GetUniqueName ( _
	defaultName As String _
) As String
JScript
public function GetUniqueName(
	defaultName : String
) : String

Parameters

defaultName
Type: System..::..String

Return Value

See Also