Indexes 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 Index objects that represents all the indexes in the specified document.
public interface class Indexes : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0002097C-0000-0000-C000-000000000046")]
public interface Indexes : System.Collections.IEnumerable
type Indexes = interface
interface IEnumerable
Public Interface Indexes
Implements IEnumerable
- Attributes
- Implements
Remarks
Use the Indexes property to return the Indexes collection.
Use the Add(Range, Object, Object, Object, Object, Object, Object, Object) method to create an index and add it to the Indexes collection.
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.
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. |
Format |
Returns or sets the formatting for the indexes in the specified document. |
Item[Int32] |
Returns an individual object in a collection. |
Parent |
Returns an object that represents the parent object of the specified object. |
Methods
Add(Range, Object, Object, Object, Object, Object, Object, Object) |
Returns a Index object that represents a new index added to a document. |
AddOld(Range, Object, Object, Object, Object, Object) |
Reserved for internal use. |
AutoMarkEntries(String) |
Automatically adds XE (Index Entry) fields to the specified document, using the entries from a concordance file. |
GetEnumerator() | |
MarkAllEntries(Range, Object, Object, Object, Object, Object, Object, Object) |
Inserts an XE (Index Entry) field after all instances of the text in |
MarkEntry(Range, Object, Object, Object, Object, Object, Object, Object, Object) |
Inserts an XE (Index Entry) field after the specified range. Returns a Field object representing the XE field. |