This document is archived and information here might be outdated.  Recommended version.


IIndexEdit Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IIndexEdit Interface

Provides access to members that modify the index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Read-only property Fields The fields collection for this index.
Write-only property Fields The fields collection for this index.
Read-only property IsAscending Indicates if the index is based on ascending order.
Write-only property IsAscending Indicates if the index is to be ascending.
Write-only property IsUnique Indicates if the index is to be unique.
Read-only property IsUnique Indicates if the index is unique.
Read-only property Name The name of the index.
Write-only property Name The name of the index.

Inherited Interfaces

Interfaces Description
IIndex Provides access to members that return information about the index.

CoClasses that implement IIndexEdit

CoClasses and Classes Description
Index Esri Index object.
XMLIndex XML Index Object.

Remarks

The IIndexEdit interface is used when creating new indexes. You cannot use IIndexEdit to modify an existing index—to do this, delete and re-create it. IIndexEdit operates in a similar way to IFieldEdit

When changing indexes on a table in a multi-user environment, you should first gain an exclusive schema lock on the table. See the section on ISchemaLock for more details.

[C#]

When using C# (and other .NET languages) you must append an "_2" to the property you want to set on this interface. For example, indexEdit.Name_2="NewIndexName".

[Visual Basic .NET]

When using VB.NET (and other .NET languages) you must append an "_2" to the property you want to set on this interface. For example, indexEdit.Name_2="NewIndexName".

See Also

IIndex Interface | IIndexes Interface | IField Interface

.NET Related Topics

Creating indexes