Partager via


ListFormat.ListTemplate Property

Returns a ListTemplate object that represents the list formatting for the specified ListFormat object.

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

Syntax

'Declaration
ReadOnly Property ListTemplate As ListTemplate
    Get
'Usage
Dim instance As ListFormat
Dim value As ListTemplate

value = instance.ListTemplate
ListTemplate ListTemplate { get; }

Property Value

Type: Microsoft.Office.Interop.Word.ListTemplate

Remarks

A list template includes all the formatting that defines a particular list. Each of the seven formats (excluding None) found on each of the tabs in the Bullets and Numbering dialog box (Format menu) corresponds to a list template. Documents and templates can also contain collections of list templates.

If the first paragraph in the range for the ListFormat object is not formatted as a list, the ListTemplate property returns Nothing.

See Also

Reference

ListFormat Interface

ListFormat Members

Microsoft.Office.Interop.Word Namespace