Gets the section at the current input position or or the section in the collection with the given number.

<void> SectionCollection.getItem(<RequestSectionCallback> callback, [<number> number], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the section.
number Optional. The section number. The first section has the number 1.
errorCallback Optional. Is called when the operation failed with an error.