public IFeatureLayer[] RedimPreserveFLyr(ref IFeatureLayer[] x, long ResizeIncrement)
 {
     IFeatureLayer[] Temp1 = new FeatureLayerClass[x.GetLength(0) + ResizeIncrement];
       if (x != null)
     System.Array.Copy(x, Temp1, x.Length);
       x = Temp1;
       Temp1 = null;
       return x;
 }