ArrayPrototype.push(Object, Object[]) Methode

Definition

Fügt am Ende des angegebenen Arrays neue Elemente hinzu.

Diese API unterstützt die Produktinfrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code gedacht.

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

Parameter

thisob
Object

Das Objekt, für den diese Methode ausgeführt wird.

args
Object[]

Die Elemente, die thisob hinzugefügt werden sollen.

Gibt zurück

Int64

Die neue Länge von thisob.

Attribute

Gilt für

Siehe auch