編輯

共用方式為


ArrayObject.SpliceSlowly Method

Definition

Adds elements to and removes elements from an array, at the specified position in the array. You can add elements, remove elements, or both.

This API supports the product infrastructure and is not intended to be used directly from your code.

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)

Parameters

start
UInt32

The position in this array at which to add and remove elements.

deleteCount
UInt32

The number of elements to remove, if any.

args
Object[]

The elements to add, if any.

outArray
ArrayObject

An array that contains the elements removed from this array, if any have been removed.

oldLength
UInt32

The previous length of this array.

newLength
UInt32

The new length of this array.

Applies to

See also