Documents for Word .NET Edition
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ListTemplateCollection Class / TryGetValue Method
The name of a list template.
When this method returns, contains the list template with the specified name or null if the name was not found.

In This Topic
    TryGetValue Method (ListTemplateCollection)
    In This Topic
    Tries to find a list template with a specified name.
    Syntax
    'Declaration
     
    Public Function TryGetValue( _
       ByVal name As System.String, _
       ByRef listTemplate As ListTemplate _
    ) As System.Boolean
    public System.bool TryGetValue( 
       System.string name,
       out ListTemplate listTemplate
    )

    Parameters

    name
    The name of a list template.
    listTemplate
    When this method returns, contains the list template with the specified name or null if the name was not found.

    Return Value

    True if the list template was found, false otherwise.
    See Also