Name
VBFixedArray Attribute
Class
Microsoft.VisualBasic.VBFixedArrayAttribute
Applies to
Field
Description
Defines a fixed array. It can be used in defining fixed arrays within structures, particularly structures that are to be passed to Win32 API functions, and for defining fixed-length structures used by VB file input and output functions.
Constructor
New(size1[,size2])
-
size1(required; Integer) The upper limit of the array’s first dimension
-
size2(optional; Integer) The upper limit of the array’s second dimension
Properties
- Bounds (Array of Integer)
The upper bounds of a particular dimension of the array. The first dimension is represented by
VBFixedArrayAttribute.Bounds(0). The upper boundary of the array can be retrieved by calling theUBoundfunction.- Length (Integer)
The total number of elements in all dimensions of the array.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access