ArrayPrototype::push Method (Object^, array<Object^>^)

 

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

Adds new elements to the end of the specified array.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public:
[JSFunctionAttribute(JSFunctionAttributeEnum::None | JSFunctionAttributeEnum::HasThisObject | JSFunctionAttributeEnum::HasVarArgs, 
	JSBuiltin::Array_push)]
static long long push(
	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.

Return Value

Type: System::Int64

The new length of thisob.

.NET Framework
Available since 1.1
Return to top
Show: