ArrayPrototype.push(Object, Object[]) Methode

Definitie

Voegt nieuwe elementen toe aan het einde van de opgegeven matrix.

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

public:
 static long push(System::Object ^ thisob, ... cli::array <System::Object ^> ^ args);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject | Microsoft.JScript.JSFunctionAttributeEnum.HasVarArgs, Microsoft.JScript.JSBuiltin.Array_push)]
public static long push(object thisob, params object[] args);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject | Microsoft.JScript.JSFunctionAttributeEnum.HasVarArgs, Microsoft.JScript.JSBuiltin.Array_push)>]
static member push : obj * obj[] -> int64
Public Shared Function push (thisob As Object, ParamArray args As Object()) As Long

Parameters

thisob
Object

Het object waarop deze methode handelt.

args
Object[]

De elementen die moeten worden toegevoegd aan thisob.

Retouren

De nieuwe lengte van thisob.

Kenmerken

Van toepassing op

Zie ook