GenerateUniqueName(IEnumerable,String) Method
See Also 
SourceCode.Workflow.Authoring.Design Namespace > NameGenerationService Class > GenerateUniqueName Method : GenerateUniqueName(IEnumerable,String) Method



list
Enumerable list containing elements that implement the IK2Object interface.
baseName
String that is used for generating a unique name.

Glossary Item Box

Generates a unique name using a list of IK2Object

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GenerateUniqueName( _
   ByVal list As IEnumerable, _
   ByVal baseName As String _
) As String
Visual Basic (Usage)Copy Code
Dim list As IEnumerable
Dim baseName As String
Dim value As String
 
value = NameGenerationService.GenerateUniqueName(list, baseName)
C# 
public static string GenerateUniqueName( 
   IEnumerable list,
   string baseName
)
C++/CLI 
public:
static String^ GenerateUniqueName( 
   IEnumerable^ list,
   String^ baseName
) 

Parameters

list
Enumerable list containing elements that implement the IK2Object interface.
baseName
String that is used for generating a unique name.

Return Value

Returns a unique name that was generated

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also