This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFieldsEdit Interface > IFieldsEdit.DeleteField Method (ArcObjects .NET 10.5 SDK) |
Delete a field from the fields collection.
[Visual Basic .NET] Public Sub DeleteField ( _ ByVal Field As IField _ )
[C#] public void DeleteField ( IField Field );
[C++]
HRESULT DeleteField(
IField* Field
);
[C++]
Parameters Field [in]
Field is a parameter of type IField
DeleteField is used when creating a fields collection and cannot be used to delete a field from a fields collection belonging to an existing table. To delete a field from an existing object class, use the IClass::DeleteField method.