OpenXMLDocuments.CustomizeTemplate4 Method

OpenXMLDocuments.CustomizeTemplate4 Method

Last modified: October 07, 2009

Applies to: SharePoint Foundation 2010

Creates a custom SharePoint Foundation form template (.xsn) file based on the schema that is retrieved through the specified content type URL and content type ID.

expression.CustomizeTemplate4(bstrContentTypeURL As String, bstrContentTypeID As String)


An expression that returns an OpenXMLDocuments Control object.


A string that contains the content type URL.


A string that contains the content type ID. For information about the format of content type IDs, see Content Type IDs.

true if the form template is successfully created; otherwise, false.

© 2016 Microsoft