Previous Topic: void SetBranchOption(HINT32 iOptions)

Next Topic: void SetVersionItemOption(HINT32 iOptions)


void SetVersionOption(HINT32 iOptions)

Sets the Version Option to specify whether to get only the latest or multiple versions of the same item.

Note: The following are the allowable values for the Version Option. They are defined in an include file built into the project.

Owning Class

CaVersionChooser

Arguments

HINT32 iOption-the Version Option

Return Value

None

Example

CaVersionChooser& rVersionChooser = rContext.GetVersionChooser(); rVersionChooser.SetVersionOption(VERSION_FILTER_LATEST_IN_VIEW);

More information: