VBFixedArray Attribute


VBFixedArray Attribute

Class

Microsoft.VisualBasic.VBFixedArrayAttribute

Applies To

Field

Constructor

     New(upper1[, upper2]) 


upper1 (required; Integer)

The upper limit of the array's first dimension


upper2 (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 dimension can be retrieved by calling the UBound function.


Length (Integer)

The total number of elements in all dimensions of the array.

Description

The <VBFixedArray> attribute defines a fixed array. This attribute can be used in defining fixed arrays within structures, particularly structures that are passed to Win32 API functions, and for defining fixed-length structures used by VB file input and output functions.




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net