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

PromptLeaveOrReplaceWritableFile Event

Description

Fired when you attempt to retrieve a file form server and a writable copy of this file already exits in the local disk.

Syntax

HRESULT ObjectName_PromptLeaveOrReplaceWritableFile()

Remarks

This is the place to call the GetPromptLeaveOrReplaceWritableFile method and SetPromptLeaveOrReplaceWritableFile 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_PromptLeaveOrReplaceWriteableFile()

	sdkObject.SetPromptLeaveOrReplaceModifiedFile Enum_ReplaceModifiedFile, True

End Sub