VBArrayPrototype::getItem Method (Object^, array<Object^>^)

 

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

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

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public:
[JSFunctionAttribute(JSFunctionAttributeEnum::None | JSFunctionAttributeEnum::HasThisObject | JSFunctionAttributeEnum::HasVarArgs, 
	JSBuiltin::VBArray_getItem)]
static Object^ getItem(
	Object^ thisob,
	... array<Object^>^ args
)

Parameters

thisob
Type: System::Object^

The object that this method is acting upon.

args
Type: array<System::Object^>^

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

Return Value

Type: System::Object^

The value at the specified position in thisob.

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.

.NET Framework
Available since 1.1
Return to top
Show: