Share via


Web.OnWebFileCheckOut Event

SharePoint Designer Developer Reference

Occurs when a file in the current Web site is checked out.

Syntax

Private Sub expression_OnWebFileCheckOut(ByVal pWeb As Web, ByVal pFile As WebFile, CheckedOut As Boolean, pCheckOutOption As CheckOutOption)

expression   A variable that represents a Web object that has been declared by using the WithEvents option in a class module.

Parameters

Name Required/Optional Data Type Description
pWeb Required Web The Web site that contains the file.
pFile Required WebFile The file being checked out.
CheckedOut Required Boolean Indicates the status of the file. If True, the file is checked out. If False, the file is not checked out.
pCheckOutOption Required CheckOutOption Specifies the file checkout option.

See Also