[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ListTemplateCollection.TryGetValue

TryGetValue Method

TryGetValue(string, out ListTemplate)

Tries to find a list template with a specified name.

Declaration
public bool TryGetValue(string name, out ListTemplate listTemplate)
Public Function TryGetValue(name As String, ByRef listTemplate As ListTemplate) As Boolean
Parameters
Type Name Description
string name

The name of a list template.

ListTemplate listTemplate

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

Returns
Type Description
bool

True if the list template was found, false otherwise.