Last modified: July 06, 2008
Applies to: SharePoint Foundation 2010
Opens the document for reading instead of editing, so that the document is not locked on the server and in a specified window.
An expression that returns an OpenDocuments Control object.
An Object that represents the window from which the ViewDocument2 method is being activated.
A string that contains the URL of the document to open for reading.
An optional string that contains the ProgID of the application with which to open the document. If this argument is omitted, the default viewer for the document is used.