FFWinPlugin.EditDocument2

Applies to: SharePoint Foundation 2010

Opens the specified document for editing using its associated application or the specified editor based on the specified window object.

expression.EditDocument2(pdisp, bstrDocumentLocation, varProgID)

Parameters

expression

An expression that returns an FFWinPlugin object.

pdisp

An Object that represents the window from which the EditDocument2 method is being activated.

bstrDocumentLocation

A string that contains the URL of the document to open for editing.

varProgID

An optional string that contains the ProgID of the application with which to edit the document. If this argument is omitted, the default editor for the document is used.

Return Value

true if the document was successfully opened; otherwise, false.

See Also

Reference

OpenDocuments.EditDocument2 Method