IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

CopyResource Method

Copy a resource to a new location.

Syntax

[VB.NET]
Public Sub CopyResource(ByVal SourceResourceURI As String, ByVal DestinationResourceURI As String)
[C#]
public void CopyResource(string sourceResourceURI, string destinationResourceURI);

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 component will copy only SourceResourceURI. If Depth is set to "infinity", the component 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.

NOTE: This method has a corresponding asynchronous version (CopyResourceAsync) for use in the Xamarin environment.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0