Previous Topic: void RemoveVersionFromList(HAROBJID iVersionObjId)

Next Topic: void SetItemName(LPCTSTR szItemName)


void SetItemObjId(HAROBJID iItemObjId, int iIndex)

Sets one in a set of Item Object Ids whose versions will be searched for.

Note: The set of ids is stored in an ordered array. The index value sets a specific object ID value location. Index locations must be set in numerical order.

Owning Class

CaVersionChooser

Arguments

HAROBJID iItemObjId-item Object Id

int iIndex-the set of IDs is stored in an indexed array. Defaults to zero.

Return Value

None

Example

CaVersionChooser& rVersionChooser = rContext.GetVersionChooser(); rVersionChooser.SetItemObjId(10024, 1);