Share via


WebFile.UndoCheckout Method

SharePoint Designer Developer Reference

Returns the specified file to its prior state in the source control project without saving any changes that may have been made.

Syntax

expression.UndoCheckout

expression   A variable that represents a WebFile object.

Remarks

You must have a source control project in place before using this method. For information about source control projects, refer to Managing Source Control Projects.

See Also