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

PromptUndoCheckoutChangedFile Event

Description

Fired when you attempt to undo checkout a file which has been changed.

Syntax

HRESULT ObjectName_PromptUndoCheckoutChangedFile()

Remarks

This is the place to call the GetPromptUndoCheckoutChangedFile method and SetPromptUndoCheckoutChangedFile method.

If no method is called when this event is fired, the Get or Check Out operation will be cancelled.

See Also

Sample

VB Sample:

Dim WithEvents sdkObject As SAWHSDKLib.SAWHAppObject

Set sdkObject = New SAWHSDKLib.SAWHAppObject

Private Sub sdkObject_PromptUndoCheckoutChangedFile()

	sdkObject.SetPromptUndoCheckoutChangedFile Enum_UndoCheckOutChangeFile, True

End Sub