Introduced in build 4.1.0.1379
Description
Opens the WordWriter template specified by the templateFileName
parameter.
C#
vb.net
Parameters
template
The current WordTemplate that is calling OpenlistItem
SharePoint List Item containing the template file to be openedfileName
File name of the template Word fileExceptions
ArgumentNullException
FileNotFoundException
Remarks
A WordWriter template is a file created in Microsoft Word that contains merge fields. WordWriter supports Microsoft Word 97, 2000, 2002 (XP), 2003, and 2007. Do not use Open to open files created in earlier versions of Microsoft Word.
Examples
C#
vb.net