Edit

Share via


Style.ListTemplate Property

Definition

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

public:
 property Microsoft::Office::Interop::Word::ListTemplate ^ ListTemplate { Microsoft::Office::Interop::Word::ListTemplate ^ get(); };
public Microsoft.Office.Interop.Word.ListTemplate ListTemplate { get; }
member this.ListTemplate : Microsoft.Office.Interop.Word.ListTemplate
Public ReadOnly Property ListTemplate As ListTemplate

Property Value

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.

Applies to