HSDK Class Descriptions › CaVersionChooser › void SetVersionOption(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.
- VERSION_FILTER_ALL_IN_VIEW-get all version of an item in the view
- VERSION_FILTER_LATEST_IN_VIEW-get only the latest version of an item in the view
- VERSION_FILTER_LATEST_IN_PACKAGE-get only the latest version of an item in the package, set the package ID before calling this option
- VERSION_FILTER_ALL_IN_PACKAGE-get all versions of an item in the package, set the package ID before calling this option
- 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:
- HSDK Programming Fundamentals
- CaContext
|
Copyright © 2013 CA.
All rights reserved.
|
|