Previous Topic: bool SetUsePackageList(bool bUsePackageChooser)

Next Topic: void SetInput(LPCTSTR szAddInput)


bool SetUseVersionList(bool bUseVersionChooser)

Sets a boolean value for whether to pass the UDP process a Version List which would be expanded by the [VERSION] system variable.

Note: To pass a list of versions to a UDP process, this boolean is only part of the process. The following must happen:

Owning Class

CaUDP

Arguments

bool bUseVersionChooser-to use versions in version chooser or not

Return Value

bool-what was set for this value

Example

CaUDP& rUDP = rContext.GetUDP(); rUDP.SetUseVersionList(true); CaVersionChooser &rVersionUDP = rContext.GetVersionChooser(); rVersionUDP.Clear(); rVersionUDP.SetItemName( “*.cpp” ); rVesrionUDP.Execute(); rUDP.Execute();

More information: