public void Erase(IntPtr rowIndex) { NativeException nativeException; NativeMethods.erase(this, rowIndex, out nativeException); nativeException.ThrowIfNecessary(); }
public void RemoveAt(int index) { if (index < 0) { throw new ArgumentOutOfRangeException(); } _listHandle.Erase((IntPtr)index); }