Return Value
Return
Meaning
>= 0
Index of the newly added segment. The method was successful.
< 0
An error occurred. Refer to Error Codes.