Provides access to members that return information about the index.
| Description | ||
|---|---|---|
![]() |
Fields | The fields collection for this index. |
![]() |
IsAscending | Indicates if the index is based on ascending order. |
![]() |
IsUnique | Indicates if the index is unique. |
![]() |
Name | The name of the index. |
| CoClasses and Classes | Description |
|---|---|
| Index | ESRI Index Object. |
This code extract shows a check on whether the index is spatial, or based on the geodatabase object ID. If not, it prints out the list of field names.
Dim j As Long
Dim piffles As IFields
Dim pField As IField
Set pFields = pIndex.Fields
Set pField = pFields.Field(0)
If (pField.Type <> esriFieldTypeGeometry And pField.Type <> esriFieldTypeOID) Then
For j = 0 To pFields.FieldCount - 1
Set pField = pFields.Field(j)
Debug.Print pField.name
Next
End If