IQuickCheckinCmd Interface

The IQuickCheckinCmd interface is used to initialize the data contained in the QuickCheckin command component, which allows the user to quickly checkin an item into an object store. Using this interface, the client application can customize the dialog title, as well as identify the item to check-in via the name and directory location of the file on the local machine, the version object for the item, the version type to apply, and the XML for the item properties.

After the QuickCheckin command has been executed by calling IAppIntCmd::Invoke, a Checkin response component is returned. The response component contains specific QuickCheckin command data that is accessible through the ICheckinRsp interface.

COM Class ID

coclass QuickCheckinCmd {
[default] interface IQuickCheckinCmd;
interface IAppIntCmd;
};

Reference

DLL FnAppIntCheckinCmd.dll
See Also ICheckinCmd2 and ICheckinRsp Interfaces

Methods

The IQuickCheckinCmd interface defines one method:

Method Description
Initialize

Enables the user to specify the name and directory location of the file to be checked-in on the local machine, the version object for the item, the version type to apply, and the XML for the item properties.

Example

The following is a fragment from the complete example for the QuickCheckin command.

   ...
   // Instantiate the custom QuickCheckin command component
   IQuickCheckinCmdPtr spIQuickCheckinCmd;
hResult = spIQuickCheckinCmd.CreateInstance(__uuidof(QuickCheckinCmd));
if (FAILED(hResult)) {
std::cout << "Could not create the QuickCheckin command component.\n"; _ASSERTE(0);
} ...