ArrayPrototype::unshift Method (Object^, array<Object^>^)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Adds new elements to the start of the specified array. Shifts the existing elements to the next positions.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
public: [JSFunctionAttribute(JSFunctionAttributeEnum::None | JSFunctionAttributeEnum::HasThisObject | JSFunctionAttributeEnum::HasVarArgs, JSBuiltin::Array_unshift)] static Object^ unshift( Object^ thisob, ... array<Object^>^ args )
Parameters
- thisob
-
Type:
System::Object^
The object that this method is acting upon.
- args
-
Type:
array<System::Object^>^
The elements to add to thisob.
.NET Framework
Available since 1.1
Available since 1.1
Show: