IArrayContract<C>.SetItem(Int32, C) Método
Definição
public:
void SetItem(int index, C value);
public void SetItem (int index, C value);
abstract member SetItem : int * 'C -> unit
Public Sub SetItem (index As Integer, value As C)
Parâmetros
- index
- Int32
O índice de base zero do elemento a ser substituído.The zero-based index of the element to replace.
- value
- C
O novo valor para o elemento no índice especificado.The new value for the element at the specified index.
Exceções
index é menor que zero.index is less than zero.
- ou --or-
index é igual ou maior que o valor retornado de GetCount().index is equal to or greater than the return value of GetCount().