Moves source URI resource to the target URI.

C# | Visual Basic | Visual C++ | F# |
public void Move( string sourceUri, string targetUri, int depth, bool overwrite )
Public Sub Move ( sourceUri As String, targetUri As String, depth As Integer, overwrite As Boolean )
public: void Move( String^ sourceUri, String^ targetUri, int depth, bool overwrite )
member Move : sourceUri : string * targetUri : string * depth : int * overwrite : bool -> unit

- sourceUri (String)
- Source URI.
- targetUri (String)
- Target URI.
- depth (Int32)
- If source is collection, then depth specified how many nested levels will be copied.
- overwrite (Boolean)
- If true and target resource already exists, it will be over written. If false and target resource exists, exception is thrown.

Exception | Condition |
---|---|
ArgumentNullException | Is raised when sourceUri or targetUri is null reference. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119