ArrayObject.SpliceSlowly 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在陣列中指定位置新增元素並移除元素。 你可以新增元素、移除元素,或兩者兼有。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
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)
參數
- start
- UInt32
在這個陣列中新增或移除元素的位置。
- deleteCount
- UInt32
需要移除的元素數量(如果有的話)。
- args
- Object[]
如果有的話,有哪些元素需要補充。
- outArray
- ArrayObject
一個包含從該陣列移除的元素(若有被移除)的陣列。
- oldLength
- UInt32
這個陣列的前一個長度。
- newLength
- UInt32
這個陣列的新長度。