Page 1 of 1

VaultHistoryItem type... What they really mean ?

Posted: Wed Jun 18, 2008 10:07 am
by Aestros
I'm retreving the whole history of a folder version.
In all the list of history item, we get type 1 and type 2 in VaultHistoryItem.type .

I would like to know what this type mean and if the API have more then 2 type.

Thanks.

Posted: Wed Jun 18, 2008 12:28 pm
by shannon
The Type field tells you whether the item is a File or Folder:

public class VaultFSObjectDefine
{
public const ushort TypeFolder = 0x0001;
public const ushort TypeFile = 0x0002;
}

Posted: Wed Jun 18, 2008 1:00 pm
by Aestros
Thanks for the fast answer ! :)

Posted: Wed Jun 18, 2008 1:11 pm
by shannon
You're very welcome.