Edit

Share via


Index Interface

Definition

Represents a single index.

public interface class Index
[System.Runtime.InteropServices.Guid("0002097D-0000-0000-C000-000000000046")]
public interface Index
type Index = interface
Public Interface Index
Attributes

Remarks

The Index object is a member of the Indexes collection. The Indexes collection includes all the indexes in the specified document.

Use Indexes(index), where index is the index number, to return a single Index object. The index number represents the position of the Index object in the document.

Use the Add(Range, Object, Object, Object, Object, Object, Object, Object) method to create an index and add it to the Indexes collection.

Properties

AccentedLetters

True if the specified index contains separate headings for accented letters (for example, words that begin with "À" are under one heading and words that begin with "A" are under another).

Application

Returns a Application object that represents the Microsoft Word application.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Filter

Returns or sets a value that specifies how Microsoft Word classifies the first character of entries in the specified index.

HeadingSeparator

Returns or sets the text between alphabetic groups (entries that start with the same letter) in the index. Corresponds to the \h switch for an INDEX field.

IndexLanguage

Returns or sets the sorting language to use for the specified index.

NumberOfColumns

Sets or returns the number of columns for each page of an index.

Parent

Returns an object that represents the parent object of the specified object.

Range

Returns a Range object that represents the portion of a document that's contained in the specified object.

RightAlignPageNumbers

True if page numbers are aligned with the right margin in an index.

SortBy

Returns or sets the sorting criteria for the specified index.

TabLeader

Returns or sets the character between entries and their page numbers in an index.

Type

Returns or sets the index type.

Methods

Delete()

Deletes the specified object.

Update()

Updates the specified index.

Applies to