WebAssetCollectionSetItem - метод |
Replaces the element at the specified index.
Пространство имён:
Telerik.Web.Mvc
Сборка:
Telerik.Web.Mvc (в Telerik.Web.Mvc.dll) Версия: 2011.1.315.340
Синтаксисprotected override void SetItem(
int index,
IWebAsset item
)
Параметры
- index
- Тип: Int32
The zero-based index of the element to replace. - item
- Тип: Telerik.Web.MvcIWebAsset
The new value for the element at the specified index. The value can be null for reference types.
Исключения| Исключение | Условие |
|---|
| ArgumentOutOfRangeException | index is less than zero.
-or-
index is greater than Count.
|
См. также