ListLevels Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A collection of ListLevel objects that represents all the list levels of a list template, either the only level for a bulleted or numbered list or one of the nine levels of an outline numbered list.
public interface class ListLevels : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0002098E-0000-0000-C000-000000000046")]
public interface ListLevels : System.Collections.IEnumerable
type ListLevels = interface
interface IEnumerable
Public Interface ListLevels
Implements IEnumerable
- Attributes
- Implements
Remarks
Use the ListLevels property to return the ListLevels collection.
Use ListLevels(index
), where index
is a number from 1 through 9, to return a single ListLevel object.
Note: You cannot add new levels to a list template.
To apply a list level, first identify the range or list, and then use the ApplyListTemplate(ListTemplate, Object, Object) method. Each tab at the beginning of the paragraph is translated into a list level. For example, a paragraph that begins with three tabs will become a level-three list paragraph after the ApplyListTemplate method is used.
Properties
Application |
Returns a Application object that represents the Microsoft Word application. |
Count |
Returns the number of items in the specified collection. |
Creator |
Returns a 32-bit integer that indicates the application in which the specified object was created. |
Item[Int32] |
Returns an individual object in a collection. |
Parent |
Returns an object that represents the parent object of the specified object. |
Methods
GetEnumerator() |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應