Edit

Share via


ListFormat.ListValue Property

Definition

Returns the numeric value of the first paragraph in the range for the specified ListFormat object. For example, the ListValue property applied to the second paragraph in an alphabetic list would return 2.

public:
 property int ListValue { int get(); };
public int ListValue { get; }
member this.ListValue : int
Public ReadOnly Property ListValue As Integer

Property Value

Remarks

Use the ListString property to return a string that represents the list value.

If the ListFormat object applies to a bulleted list, the ListValue property returns 1.

If the ListFormat object applies to an outline-numbered list, the ListValue property returns the numeric value of the first paragraph as it occurs in the sequence of paragraphs at the same level. For example, if the first paragraph for a specified ListFormat object were numbered "A.2," the ListValue would return 2.

This property will not return the value for a LISTNUM field.

Applies to