Realms.ListHandle.Move C# (CSharp) Method

Move() public method

public Move ( ObjectHandle objectHandle, IntPtr targetIndex ) : void
objectHandle ObjectHandle
targetIndex System.IntPtr
return void
        public void Move(ObjectHandle objectHandle, IntPtr targetIndex)
        {
            NativeException nativeException;
            NativeMethods.move(this, objectHandle, targetIndex, out nativeException);
            nativeException.ThrowIfNecessary();
        }

Usage Example

コード例 #1
0
ファイル: RealmList.cs プロジェクト: CarsonC01/realm-dotnet
        public void Move(T item, int targetIndex)
        {
            if (targetIndex < 0)
            {
                throw new ArgumentOutOfRangeException();
            }

            _listHandle.Move(item.ObjectHandle, (IntPtr)targetIndex);
        }
All Usage Examples Of Realms.ListHandle::Move