This documentation is archived and is not being maintained.

VBFixedStringAttribute Constructor

Initializes the value of the SizeConst field.

Public Sub New( _
   ByVal Length As Integer _
)

Parameters

Length
The length of the fixed string.

Remarks

The constructor runs when the VBFixedStringAttribute attribute is applied to a string.

Smart Device Developer Notes

This constructor is not supported.

Requirements

Namespace: Microsoft.VisualBasic

Class: VBFixedStringAttribute

Assembly: Microsoft Visual Basic .NET Runtime (in Microsoft.VisualBasic.dll)

See Also

Attributes | VBFixedStringAttribute Class | StringBuilder Class | MarshalAsAttribute Class | Attributes Used in Visual Basic .NET | Object Lifetime: How Objects Are Created and Destroyed | Declaring Variables for Random File Access

Show: