Introduced in build 4.1.0.1379
Description
Opens and returns an existing Document from a SharePoint List Item.
C#
vb.net
Parameters
wordApplication
The current WordApplication object which is calling OpenlistItem
SharePoint List Item from which the file is being openedfileName
Filename of the document to open from the List ItemReturns
The document that is opened from the List Item.Exceptions
System.Exception
Thrown if an error occurs while opening the document.Remarks
Though the WordTemplate object currently supports Office Open XML (Word 2007) format files, WordApplication.Open() does not yet support them.
Examples
C#
vb.net