Udostępnij za pośrednictwem


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: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)

See Also

Concepts

Attributes Used in Visual Basic

Object Lifetime: How Objects Are Created and Destroyed

Reference

VBFixedStringAttribute Class

StringBuilder

MarshalAsAttribute

Other Resources

Attributes in Visual Basic