편집

다음을 통해 공유


ListTemplates.Add(Object, Object) Method

Definition

Returns a ListTemplate object that represents a new list template.

public Microsoft.Office.Interop.Word.ListTemplate Add (ref object OutlineNumbered, ref object Name);
abstract member Add : obj * obj -> Microsoft.Office.Interop.Word.ListTemplate
Public Function Add (Optional ByRef OutlineNumbered As Object, Optional ByRef Name As Object) As ListTemplate

Parameters

OutlineNumbered
Object

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

Name
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.

Returns

Remarks

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.

Applies to