Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
JScript
JScript Reference
Language Reference
Objects (JScript)
VBArray Object

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
JScript 8.0 
VBArray Object 

Provides access to Visual Basic safe arrays.

varName = new VBArray(safeArray)
varName

Required. The variable name to which the VBArray is assigned.

safeArray

Required. A VBArray value.

The safeArray argument must have a VBArray value before being passed to the VBArray constructor. This can be acquired by retrieving the value from an existing ActiveX or other object.

NoteNote

Arrays created in JScript and arrays created in Visual Basic both interoperate with .NET Framework arrays. Consequently, the elements of an array created in Visual Basic are directly accessible in JScript. The VBArray object is only provided for backwards compatibility. For more information on arrays, see Array Object, Dim Statement, and AllMembers.T:System.Array.

A VBArray can have multiple dimensions. The indices of each dimension can be different. The dimensions method retrieves the number of dimensions in the array; the lbound and ubound methods retrieve the range of indices used by each dimension.

The VBArray object has no properties.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker