Style.LinkToListTemplate Method
Links the specified style to a list template so that the style's formatting can be applied to lists.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub LinkToListTemplate ( _
ListTemplate As ListTemplate, _
ByRef ListLevelNumber As Object _
)
'Usage
Dim instance As Style
Dim ListTemplate As ListTemplate
Dim ListLevelNumber As Object
instance.LinkToListTemplate(ListTemplate, _
ListLevelNumber)
void LinkToListTemplate(
ListTemplate ListTemplate,
ref Object ListLevelNumber
)
Parameters
- ListTemplate
Type: Microsoft.Office.Interop.Word.ListTemplate
Required ListTemplate object. The list template that the style is to be linked to.
- ListLevelNumber
Type: System.Object%
Optional Object. An integer corresponding to the list level that the style is to be linked to. If this argument is omitted, then the level of the style is used.