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