VaultHistoryItem type... What they really mean ?

Post your questions regarding using the Vault and Fortress API in your programs.

Moderator: SourceGear

Post Reply
Aestros
Posts: 17
Joined: Mon Jun 16, 2008 7:54 am

VaultHistoryItem type... What they really mean ?

Post by Aestros » Wed Jun 18, 2008 10:07 am

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.

shannon

Post by shannon » Wed Jun 18, 2008 12:28 pm

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;
}

Aestros
Posts: 17
Joined: Mon Jun 16, 2008 7:54 am

Post by Aestros » Wed Jun 18, 2008 1:00 pm

Thanks for the fast answer ! :)

shannon

Post by shannon » Wed Jun 18, 2008 1:11 pm

You're very welcome.

Post Reply