ArrayPrototype.shift(Object) Metodo

Definizione

Rimuove il primo elemento della matrice specificata e lo restituisce. Sposta gli elementi rimanenti nelle posizioni precedenti.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

public:
 static System::Object ^ shift(System::Object ^ thisob);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Array_shift)]
public static object shift (object thisob);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Array_shift)>]
static member shift : obj -> obj
Public Shared Function shift (thisob As Object) As Object

Parametri

thisob
Object

Oggetto su cui agisce questo metodo.

Restituisce

Object

Primo elemento di thisob.

Attributi

Si applica a

Vedi anche