This document is archived and information here might be outdated. Recommended version. |
Provides access to members that modify a fields collection.
The IFieldsEdit interface is used when creating a fields collection. You cannot use it to insert or delete a field from a fields collection belonging to an existing table. To add a field to an existing object class, use the IClass::AddField method. To remove a field from an existing object class, use the IClass::DeleteField method.
Name | Description | |
---|---|---|
AddField | Add a field to the fields collection. | |
DeleteAllFields | Delete all the fields from the fields collection. | |
DeleteField | Delete a field from the fields collection. | |
Field | The field at the specified position. | |
Field | The field at the specified index in the fields collection. | |
FieldCount | The Number of fields in this field collection. | |
FieldCount | The number of fields in the fields collection. | |
FindField | Finds the index of the named field in the fields collection. | |
FindFieldByAliasName | Finds the index of the field with the alias name in the fields collection. |
Interfaces | Description |
---|---|
IFields | Provides access to members that return information about the fields. |
Classes | Description |
---|---|
Fields | Esri Fields object. |
When using C# (and other .NET languages) you must append an "_2" to the property you want to set on this interface. For example fieldsEdit.FieldCount_2 = 3.
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 pFieldsEdit.FieldCount_2 = 3.