BExplorer.Shell._Plugin_Interfaces.FileSystemListItem.Clone C# (CSharp) Method

Clone() public method

public Clone ( System.Boolean isHardCloning = false ) : IListItemEx
isHardCloning System.Boolean
return IListItemEx
    public IListItemEx Clone(Boolean isHardCloning = false) {
      if (isHardCloning) {
        var newObj = FileSystemListItem.ToFileSystemItem(this.ParentHandle, this.ParsingName.ToShellParsingName());
        this.Dispose();
        return newObj;
      }
      return FileSystemListItem.ToFileSystemItem(this.ParentHandle, this.PIDL);
    }