MobileForms Toolkit Documentation

WebDavFile.Rename Method 

Renames the WebDAV file/directory represented by this object

public override NetRequest Rename(
string newName,
bool overwrite,
NetAsyncCallback asyncCallback,
object asyncState
);

Parameters

newName
The new name
overwrite
Allows/disallows overwriting the file if it already exists on a server
asyncCallback
The asynchronous callback delegate which is called after the operation completes or fails
asyncState
The asynchronous callback parameter which is set in NetAsyncResult structure when the callback is called.

Return Value

The remote file system request object which can be used to abort the request

See Also

WebDavFile Class | Resco.Net Namespace