VBArrayPrototype.getItem(Object, Object[]) Metodo
Definizione
Ottiene il valore in corrispondenza della posizione specificata nella matrice specificata.Gets the value at the specified position in the specified array.
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.
public:
static System::Object ^ getItem(System::Object ^ thisob, ... cli::array <System::Object ^> ^ args);
[Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 18, Microsoft.JScript.JSBuiltin.VBArray_getItem)]
public static object getItem (object thisob, params object[] args);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject | Microsoft.JScript.JSFunctionAttributeEnum.HasVarArgs, Microsoft.JScript.JSBuiltin.VBArray_getItem)]
public static object getItem (object thisob, params object[] args);
[<Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 18, Microsoft.JScript.JSBuiltin.VBArray_getItem)>]
static member getItem : obj * obj[] -> obj
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject | Microsoft.JScript.JSFunctionAttributeEnum.HasVarArgs, Microsoft.JScript.JSBuiltin.VBArray_getItem)>]
static member getItem : obj * obj[] -> obj
Public Shared Function getItem (thisob As Object, ParamArray args As Object()) As Object
Parametri
- thisob
- Object
Oggetto su cui agisce questo metodo.The object that this method is acting upon.
- args
- Object[]
Matrice che rappresenta gli indici di ogni dimensione che specifica la posizione dell'elemento da ottenere.An array that represents the indexes of each dimension that specifies the position of the element to get.
Restituisce
Valore della posizione specificata in thisob
.The value at the specified position in thisob
.
- Attributi
Commenti
Se thisob
ha tre o meno dimensioni, args
può contenere un elenco delimitato da virgole di indici.If thisob
has three or fewer dimensions, args
can contain a comma-separated list of indexes. Se thisob
dispone di quattro o più dimensioni, args
può contenere una matrice di indici.If thisob
has four or more dimensions, args
can contain an array of indexes.