ArrayObject.SpliceSlowly Método

Definición

Agrega elementos a y quita elementos de una matriz, en la posición especificada de la matriz. Puede agregar elementos, quitar elementos o ambos.

Esta API admite la infraestructura de producto y no está pensada para usarse directamente en el código.

protected:
 void SpliceSlowly(System::UInt32 start, System::UInt32 deleteCount, cli::array <System::Object ^> ^ args, Microsoft::JScript::ArrayObject ^ outArray, System::UInt32 oldLength, System::UInt32 newLength);
protected void SpliceSlowly(uint start, uint deleteCount, object[] args, Microsoft.JScript.ArrayObject outArray, uint oldLength, uint newLength);
member this.SpliceSlowly : uint32 * uint32 * obj[] * Microsoft.JScript.ArrayObject * uint32 * uint32 -> unit
Protected Sub SpliceSlowly (start As UInteger, deleteCount As UInteger, args As Object(), outArray As ArrayObject, oldLength As UInteger, newLength As UInteger)

Parámetros

start
UInt32

Posición de esta matriz en la que se van a agregar y quitar elementos.

deleteCount
UInt32

Número de elementos que se van a quitar, si los hay.

args
Object[]

Elementos que se van a agregar, si los hay.

outArray
ArrayObject

Matriz que contiene los elementos quitados de esta matriz, si se ha quitado alguno.

oldLength
UInt32

Longitud anterior de esta matriz.

newLength
UInt32

Nueva longitud de esta matriz.

Se aplica a

Consulte también