Public Static Sub Open(ByVal template As WordTemplate, ByVal docLib As MicroSoft.SharePoint.SPDocumentLibrary, ByVal fileName As String)
{signature}
{parameters}
{param:template}The current WordTemplate that is calling Open{param}
{param:docLib}SharePoint Document Library containing the template file to be opened{param}
{param:fileName}File name of the template Word file{param}
{exceptions}
{exception:ArgumentNullException}{exception}
{exception:FileNotFoundException}{exception}
{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|WordTemplate.Open] to open files created in earlier versions of Microsoft Word.
{note}This is an extension method for the WordTemplate object to be used for opening documents from a SharePoint Document Library from within SharePoint. To use this method, you must add a reference to |