Skip to main content Skip to complementary content

Copy the properties and the children of a generic object

Copy the properties and the children of a generic object by using the CopyFrom method.

If the source object contains children (for example 10 children) and the destination object contains two children, the children of the source object will replace the children of the destination object. Therefore the destination object will contain 10 children. The two children present before the copy are gone.

Information noteThe identifier of the destination object is the same as before the copy takes place.

Example

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!