[]
Moves the sheet with the specified name to the specified position.
public void Move(string sName, short newPosition)
Type | Name | Description |
---|---|---|
string | sName | The value of the DDSheet's Name property that you want to move. |
short | newPosition | The new position you want to move the sheet to. If the new position is less than zero, the sheet will be moved to the beginning of the collection (0). If the new position is greater than the upper bound of this collection, the sheet will be moved to the end of the collection. |
Moves the sheet at the specified position to the specified new position.
public void Move(short oldPosition, short newPosition)
Type | Name | Description |
---|---|---|
short | oldPosition | The current position (index) of the sheet you want to move. |
short | newPosition | The new position you want to move the sheet to. If the new position is less than zero, the sheet will be moved to the beginning of the collection (0). If the new position is greater than the upper bound of this collection, the sheet will be moved to the end of the collection. |