Application.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 an Application object that has been declared by using the WithEvents option in a class module.

Parameters

Name Required/Optional Data Type Description
pWeb Required Web Specifies the current Web site that contains the file.
pFile Required WebFile Specifies the WebFile being checked out.
CheckedOut Required Boolean Specifies a Boolean that 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