IIsCheckedOutCmd Interface

The IIsCheckedOutCmd interface is used to initialize the data contained in the IsCheckedOut command component, which silently determines if a specified object store item is checked-out by the current user.

After the IsCheckedOut command has been executed by calling IAppIntCmd::Invoke, an IsCheckedOut response component is returned. Client applications may interact with the response component via the standard IAppIntRsp and custom IIsCheckedOutRsp interfaces.

COM Class ID

coclass IsCheckedOutCmd {
[default] interface IIsCheckedOutCmd;
interface IAppIntCmd;
};

Reference

DLL FnAppIntIsCheckedOutCmd.dll
See Also IIsCheckedOutRsp and ICheckoutListCmd interfaces

Methods

The IIsCheckedOutCmd interface defines one method:

Method Description
Initialize

Initializes the IsCheckedOut command by specifying the object store item for which to determine if the item is checked-out by the current user.

Example

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

   ...
   // Instantiate the custom IsCheckedOut command component
   IIsCheckedOutCmdPtr spIIsCheckedOutCmd;
hResult = spIIsCheckedOutCmd.CreateInstance(__uuidof(IsCheckedOutCmd));
if (FAILED(hResult)) {
std::cout << "Could not create the IsCheckedOut command component.\n"; _ASSERTE(0);
} ...