В этом разделе
Sets information about the specified image.
Синтаксис
var instance = new Vintasoft.Shared.WebImageCollectionJS();
var value; // Type: any
// Parameters
var index; // Type: number
var image; // Type: WebImageJS
value = instance.set(index, image);
function set(
: number,
: WebImageJS
) : any;
Parameters
- index
- The zero-based index of image, which should be changed.
- image
- New WebImageJS at the specified index.
Исключения
Исключение | Описание |
| Thrown if arguments have wrong types. |
| Thrown if index is less than zero or index is equal to or greater than collection length. |
| Thrown if image already exists in collection. |
Смотрите также