List.RemoveNumbers Method
Removes numbers or bullets from the specified list.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub RemoveNumbers ( _
ByRef NumberType As Object _
)
'Usage
Dim instance As List
Dim NumberType As Object
instance.RemoveNumbers(NumberType)
void RemoveNumbers(
ref Object NumberType
)
Parameters
- NumberType
Type: System.Object%
Optional WdNumberType. The type of number to be removed.
Remarks
When this method is applied to a List object, it removes numbers only from paragraphs in the specified list, skipping over any interleaved numbers from other lists. If this method is applied to the ListFormat object for a range of text, all numbers from all lists in the range are removed.