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
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
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.