Realms.ListHandle.Erase C# (CSharp) Méthode

Erase() public méthode

public Erase ( IntPtr rowIndex ) : void
rowIndex System.IntPtr
Résultat void
        public void Erase(IntPtr rowIndex)
        {
            NativeException nativeException;
            NativeMethods.erase(this, rowIndex, out nativeException);
            nativeException.ThrowIfNecessary();
        }

Usage Example

Exemple #1
0
        public void RemoveAt(int index)
        {
            if (index < 0)
            {
                throw new ArgumentOutOfRangeException();
            }

            _listHandle.Erase((IntPtr)index);
        }