ICabNode::Copy Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 14: | Line 14: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT Copy( ICabNode* | + | <pre class="brush:cpp;gutter:false">HRESULT Copy( ICabNode* Src);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;Src |
: Pointer to [[PXV:ICabNode|ICabNode]]. | : Pointer to [[PXV:ICabNode|ICabNode]]. | ||
Pointer to a source CAB node. | Pointer to a source CAB node. |
Revision as of 05:47, 12 June 2015
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.
Syntax
HRESULT Copy( ICabNode* Src);
Parameters
- Src
- Pointer to ICabNode.
Pointer to a source CAB node.
Return Value
Returns S_OK if operation was successful or error code in other cases.