insertRange(number,Vintasoft.Shared.WebImageCollectionJS) Метод
В этом разделе
Inserts images into collection at the specified index.
Синтаксис
var instance = new Vintasoft.Shared.WebImageCollectionJS();
var value; // Type: any
// Parameters
var index; // Type: number
var images; // Type: WebImageCollectionJS
value = instance.insertRange(index, images);
function insertRange(
: number,
: WebImageCollectionJS
) : any;
Parameters
- index
- The zero-based index at which image should be inserted.
- images
- An image collection, which is represented by WebImageCollectionJS object.
Исключения
Исключение | Описание |
| Thrown if arguments have wrong types. |
| Thrown if index is less than zero or index is greater than collection length. |
| Thrown if image already exists in collection. |
Смотрите также