ICabNode::Copy Method

From Tracker Software PDF SDK
Revision as of 03:12, 15 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Copies data from another node. Generally this operation assigns value of the source node to the target node. The operation has special merge semantics for CAB dictionaries: subnodes that exist in the target but do not exist in the source, will remain untouched; subnodes that do not exist in the target but exist in the source, will be added to the target; and to subnodes that exist both in the target and source, Copy operation will be applied recursively.


HRESULT Copy(  ICabNode*  pSrc);


Pointer to ICabNode.

Pointer to a source CAB node.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also