IP*Works! 2016 C++ Edition
IP*Works! 2016 C++ Edition
Questions / Feedback?

CopyResource Method

Copy a resource to a new location.

Syntax

 int CopyResource(char* lpszSourceResourceURI, char* lpszDestinationResourceURI);

Remarks

The CopyResource method will copy the resource indicated by SourceResourceURI to a new location under the resource indicated by DestinationResourceURI.

This method is associated with the Depth property. If Depth is set to "0", the class will copy only SourceResourceURI. If Depth is set to "infinity", the class will copy SourceResourceURI and its entire subtree to locations relative to it.

If the user has acquired a LockResource of infinite depth on either DestinationResourceURI or any collection it is under, SourceResourceURI will be added to that lock.

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IP*Works! 2016 C++ Edition - Version 16.0 [Build 7353]