ArcGISCompare.GeoDbProcs.DeleteFeature C# (CSharp) Method

DeleteFeature() public static method

public static DeleteFeature ( IFeatureClass theFC, int OID ) : void
theFC IFeatureClass
OID int
return void
    public static void DeleteFeature(IFeatureClass theFC, int OID)
    {
      try
      {
        IFeature theNF = theFC.GetFeature(OID);

        if (theNF != null) { theNF.Delete(); }
      }
      catch (Exception ex) { }
    }