CloneWithNewUniqueId Method (INElement)
Creates an identical copy of the element, which differs only by the element unique id
'Declaration
Function CloneWithNewUniqueId( _
ByVal As System.Collections.Hashtable _
) As INElement
'Usage
Dim instance As INElement
Dim mapUIds As System.Collections.Hashtable
Dim value As INElement
value = instance.CloneWithNewUniqueId(mapUIds)
INElement CloneWithNewUniqueId(
System.Collections.Hashtable
)
Parameters
- mapUIds
- map of unique ids, which must be populated with the made unique id changes
Return Value
cloning which differs by unique Id only
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