Duplicates the specified list of GwxElement objects.

Namespace: Ico.Gwx
Assembly: GwxConfigCore (in GwxConfigCore.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public GwxDependencyObject[] DuplicateObjects(
	GwxDependencyObject[] objectsToDuplicate,
	IGwxDependencyObjectContainer parentOfDuplicatedObjects,
	bool selectDuplicatedObjects
)
Visual Basic
Public Function DuplicateObjects ( _
	objectsToDuplicate As GwxDependencyObject(), _
	parentOfDuplicatedObjects As IGwxDependencyObjectContainer, _
	selectDuplicatedObjects As Boolean _
) As GwxDependencyObject()
JScript
public function DuplicateObjects(
	objectsToDuplicate : GwxDependencyObject[], 
	parentOfDuplicatedObjects : IGwxDependencyObjectContainer, 
	selectDuplicatedObjects : boolean
) : GwxDependencyObject[]

Parameters

objectsToDuplicate
Type: array<Ico.Gwx..::..GwxDependencyObject>[]()[][]
The objects to duplicate.
parentOfDuplicatedObjects
Type: Ico.Gwx..::..IGwxDependencyObjectContainer
The IGwxDependencyObjectContainer that will be the parent of the newly duplicated objects.
selectDuplicatedObjects
Type: System..::..Boolean
True to select the newly duplicated objects.

Return Value

A list of the new duplicate objects if successful, null if the duplicate operation failed.

See Also