online source control
back to content
sign up free version control plan

SAWHSDK::promptCheckinOrUndoUnchangedFile

Description

Prompts the handling option for checking in a file whose local copy is unchanged.

Syntax

void promptCheckinOrUndoUnchangedFile(
        BaseDataObject bdoIEnumCheckinUnchangedFileHandling,
        BaseDataObject bdoBApplyToAllItems,
        String strInfo
);

Parameters

bdoIEnumCheckinUnchangedFileHandling
[in] Specifies how to handle the file, checking in or undoing checkout.

bdoBApplyToAllItems
[in] Specifies whether to apply the handling option to all items.

strInfo
[out] Returns the prompt information when checking in an unchanged file or undo the checkout.

Return Value

None.

Remarks

If bdoIEnumCheckinUnchangedFileHandling = enumAskUnchangedHandlingCanceled, the checkin operation will be canceled when the event calling this method is fired.

If bdoIEnumCheckinUnchangedFileHandling = enumAskCheckinUnchangedFile, a warning dialog will pop up asking how to handle the unchanged file when the event calling this method is fired.

If bdoIEnumCheckinUnchangedFileHandling = enumCheckinUnchangedFile, the unchanged file will be checked in when the event calling this method is fired.

If bdoIEnumCheckinUnchangedFileHandling = enumUndoCheckinUnchangedFile, the checkout of the unchanged file will be undone when the event calling this method is fired.

See Also