OpenXMLDocuments.PromptedOnLastOpen Method

Applies to: SharePoint Foundation 2010

Used with the OpenXMLDocuments.CreateNewDocument2 Method method to determine whether the security dialog box that appears when an XML document or form is opened has already appeared.

expression.PromptedOnLastOpen()

Parameters

expression

An expression that returns an OpenXMLDocuments 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.

See Also

Reference

OpenXMLDocuments Control

OpenXMLDocuments Members