Documents for Word .NET Edition
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ListTemplateCollection Class / Add Method / Add(BuiltInListTemplateId,String) Method
The id of a built in list template.
The name for the list template.

In This Topic
    Add(BuiltInListTemplateId,String) Method
    In This Topic
    Creates a new list template based on a predefined template and adds it to the collection of lists templates in the document.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal templateId As BuiltInListTemplateId, _
       ByVal name As System.String _
    ) As ListTemplate
    public ListTemplate Add( 
       BuiltInListTemplateId templateId,
       System.string name
    )

    Parameters

    templateId
    The id of a built in list template.
    name
    The name for the list template.

    Return Value

    The newly created list template.
    See Also