Previous Topic: bool SetCheckoutMode(HINT32 iMode)

Next Topic: bool SetReplaceFile(bool bFlag)


bool SetPathOption(HINT32 iOption)

Sets the Path Option for this process. Files are checked out to the directory structure in locations related to the view path, client directory, and the path option.

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

Owning Class

CaCheckout

Arguments

HINT32 iOption-the Path Option.

Return Value

True if success, false if fail

Example

CaCheckout& rCheckout = rContext.GetCheckout(); bool bResult = rCheckout.SetPathOption (CO_OPTION_PRESERVE_AND_CREATE);

More information: