OpenXMLDocuments.CustomizeTemplate4 Method

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)

Parameters

expression

An expression that returns an OpenXMLDocuments Control object.

bstrContentTypeURL

A string that contains the content type URL.

bstrContentTypeID

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

Return Value

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

See Also

Reference

OpenXMLDocuments Control

OpenXMLDocuments Members