ESRI.ArcGIS.ADF.Core
generateName(String,String) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF Namespace > ThreadSafeCollection Class > generateName Method : generateName(String,String) Method




namebase
Base for the new name if any.
name
Name of the item
Generates a unique name for an item.

Syntax

Visual Basic (Declaration) 
Protected Overloads Function generateName( _
   ByVal namebase As String, _
   ByVal name As String _
) As String
Visual Basic (Usage)Copy Code
Dim instance As ThreadSafeCollection
Dim namebase As String
Dim name As String
Dim value As String
 
value = instance.generateName(namebase, name)
C# 
protected string generateName( 
   string namebase,
   string name
)

Parameters

namebase
Base for the new name if any.
name
Name of the item

Return Value

A unique name for an item.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.