ILockNull.ConvertToFolder Method 

IT Hit WebDAV for .NET

Converts lock-null item to folder.

[Visual Basic]
Function ConvertToFolder() As WebDAVResponse
[C#]
WebDAVResponse ConvertToFolder();

Return Value

Remarks

Engine calls this method when lock-null item must be converted to a folder.

Example

    public WebDAVResponse ConvertToFolder()
    {
        FileInfo file = (FileInfo)base.fileSystemInfo;
        string path = file.FullName;
        file.Delete();
        Directory.CreateDirectory(path);

        return new CreatedResponse();
    }
    

See Also

ILockNull Interface | ITHit.WebDAV.Server Namespace