Array.IList.Add(Object) Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Al llamar a este método siempre se produce una NotSupportedException excepción.
virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add(object value);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (value As Object) As Integer Implements IList.Add
Parámetros
Devoluciones
No se admite agregar un valor a una matriz. No se devuelve ningún valor.
Implementaciones
Excepciones
IList tiene un tamaño fijo.
Comentarios
Normalmente, una IList.Add implementación agrega un miembro a una colección. Sin embargo, dado que las matrices tienen un tamaño fijo (la IsFixedSize propiedad siempre devuelve true), este método siempre produce una NotSupportedException excepción.
Este miembro es una implementación explícita de miembro de interfaz. Solo se puede usar cuando la Array instancia se convierte en una IList interfaz.