Visual Basic Language Reference |
|
VBFixedArrayAttribute Constructor
Initializes the bounds of a fixed sized array.
Public Sub New( _
ByVal size1 As Integer, _
Optional ByVal size2 As Integer = -1 _
)
Parameters
- size1
- Initializes the value of FirstBound field, which represents the size of the first dimension of the array.
- size2
- Initializes the value of the SecondBound field, which represents the size of the second dimension of the array.
Remarks
The constructor runs when the VBFixedArrayAttribute attribute is applied to a class.
See Also
Attributes | ComClassAttribute Class | Attributes Used in Visual Basic .NET | Declaring Variables for Random File Access | Object Lifetime: How Objects Are Created and Destroyed