Add method
Collapse the table of content
Expand the table of content

ListTemplates.Add method

Returns a ListTemplate object that represents a new list template.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

ListTemplate Add(
	ref Object OutlineNumbered,
	ref Object Name
)

Parameters

OutlineNumbered
Type: System.Object

Optional Object. True to apply outline numbering to the new list template.

Name
Type: System.Object

Optional Object. An optional name used for linking the list template to a LISTNUM field. You cannot use this name to index the list template in the collection.

You cannot use the Add method on ListTemplates objects returned from a ListGallery object. You can, however, modify the existing list templates in the galleries.

Show:
© 2016 Microsoft