Прочитај на енглеском Уреди

Делите путем


VBArrayPrototype.getItem(Object, Object[]) Method

Definition

Gets the value at the specified position in the specified array.

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

C#
[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);

Parameters

thisob
Object

The object that this method is acting upon.

args
Object[]

An array that represents the indexes of each dimension that specifies the position of the element to get.

Returns

The value at the specified position in thisob.

Attributes

Remarks

If thisob has three or fewer dimensions, args can contain a comma-separated list of indexes. If thisob has four or more dimensions, args can contain an array of indexes.

Applies to

Производ Верзије
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also