SheetRowResourcesCopyRowsToAnotherSheet Method |  |
Copies Row(s) from the Sheet specified in the URL to (the bottom of) another sheet.
It mirrors to the following Smartsheet REST API method: POST /sheets/{sheetId}/rows/copy
RemarksUp to 5,000 row IDs can be specified in the request,
but if the total number of rows in the destination sheet after the copy exceeds the Smartsheet row limit,
an error response will be returned.
Namespace:
Smartsheet.Api
Assemblies:
smartsheet-csharp-sdk (in smartsheet-csharp-sdk.dll) Version: 2.126.0
smartsheet-csharp-sdk (in smartsheet-csharp-sdk.dll) Version: 2.126.0
SyntaxCopyOrMoveRowResult CopyRowsToAnotherSheet(
long sheetId,
CopyOrMoveRowDirective directive,
IEnumerable<CopyRowInclusion> include,
Nullable<bool> ignoreRowsNotFound
)
Function CopyRowsToAnotherSheet (
sheetId As Long,
directive As CopyOrMoveRowDirective,
include As IEnumerable(Of CopyRowInclusion),
ignoreRowsNotFound As Nullable(Of Boolean)
) As CopyOrMoveRowResult
CopyOrMoveRowResult^ CopyRowsToAnotherSheet(
long long sheetId,
CopyOrMoveRowDirective^ directive,
IEnumerable<CopyRowInclusion>^ include,
Nullable<bool> ignoreRowsNotFound
)
abstract CopyRowsToAnotherSheet :
sheetId : int64 *
directive : CopyOrMoveRowDirective *
include : IEnumerable<CopyRowInclusion> *
ignoreRowsNotFound : Nullable<bool> -> CopyOrMoveRowResult
Parameters
- sheetId
- Type: SystemInt64
the sheet Id to copy from - directive
- Type: Smartsheet.Api.ModelsCopyOrMoveRowDirective
directive - include
- Type: System.Collections.GenericIEnumerableCopyRowInclusion
objects to include - ignoreRowsNotFound
- Type: SystemNullableBoolean
default is false. If set to true, specifying row Ids that do not exist within the source sheet will not cause an error response.
If omitted or set to false, specifying row Ids that do not exist within the source sheet will cause an error response (and no rows will be copied).
Return Value
Type:
CopyOrMoveRowResult CopyOrMoveRowResult object
Exceptions
See Also