Previous Topic: BranchOption Property (Write Only)

Next Topic: VersionItemOption Property (Write Only)


VersionOption Property (Write Only)

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

Syntax

object.VersionOption = [value]

Owning Class

CaWVersionChooser

Arguments

value - A long that represents the Version Option.

Notes

The following are the allowable values for the Version Option:

16

Get all versions of an item in the view.

256

Get only the latest version of an item in the view.

Example

Dim objVersionChooser
Set objVersionChooser = objContext.GetVersionChooser()
objVersionChooser.VersionOption = VERSION_FILTER_LATEST_IN_VIEW

More information: