List.CanContinuePreviousList Method
Returns a WdContinue constant (wdContinueDisabled, wdResetList, or wdContinueList) that indicates whether the formatting from the previous list can be continued.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function CanContinuePreviousList ( _
ListTemplate As ListTemplate _
) As WdContinue
'Usage
Dim instance As List
Dim ListTemplate As ListTemplate
Dim returnValue As WdContinue
returnValue = instance.CanContinuePreviousList(ListTemplate)
WdContinue CanContinuePreviousList(
ListTemplate ListTemplate
)
Parameters
- ListTemplate
Type: Microsoft.Office.Interop.Word.ListTemplate
Required ListTemplate object. A list template that's been applied to previous paragraphs in the document.
Return Value
Type: Microsoft.Office.Interop.Word.WdContinue
Remarks
This method returns the state of the Continue previous list and Restart numbering options in the Bullets and Numbering dialog box for a specified list format. To change the settings of these options, set the ContinuePreviousList argument of the ApplyListTemplate method.