Smartsheet.Api.Internal.RowResourcesImpl.MoveRow C# (CSharp) Method

MoveRow() private method

private MoveRow ( long id, RowWrapper rowWrapper ) : IList
id long
rowWrapper Smartsheet.Api.Models.RowWrapper
return IList
        public virtual IList<Row> MoveRow(long id, RowWrapper rowWrapper)
        {
            throw new NotSupportedException();
        }

Usage Example

Example #1
0
        public virtual void TestMoveRow()
        {
            server.setResponseBody("../../../TestSDK/resources/moveRow.json");

            RowWrapper rowWrapper = new RowWrapper();

            rowWrapper.ToTop     = true;
            rowWrapper.ParentId  = 1234L;
            rowWrapper.SiblingId = 1234L;
            IList <Row> rows = rowResourcesImpl.MoveRow(1234L, rowWrapper);

            Assert.True(rows.Count == 1);
            Assert.True(rows[0].Cells.Count == 1);
        }