OpenDocuments.PromptedOnLastOpen Method

Applies to: SharePoint Foundation 2010

Used with the OpenDocuments.CreateNewDocument2 Method method to determine whether the security dialog box that appears when a document is opened has already appeared.

expression.PromptedOnLastOpen()

Parameters

expression

An expression that returns an OpenDocuments Control object.

Return Value

true if the security dialog box that appears when a document is opened has already appeared; otherwise false.

Remarks

If the PromptedOnLastOpen method returns true, the window containing the document library view refreshes itself the next time it receives focus. One refresh can occur after the new document is saved to the server.