Style.ListTemplate Property
Returns a ListTemplate object that represents the list formatting for the specified Style object.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim style1 As Style
Dim returnValue As ListTemplate
returnValue = style1.ListTemplate
Syntax
ReadOnly Property ListTemplate() As ListTemplate
ListTemplate ListTemplate {get;}
property ListTemplate^ ListTemplate{
ListTemplate^ get();
}
public ListTemplate get_ListTemplate();
function get ListTemplate() : 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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Style Interface
Microsoft.Office.Interop.Word Namespace