VBFixedStringAttribute(Int32) 构造函数

定义

初始化 SizeConst 字段的值。Initializes the value of the SizeConst field.

public:
 VBFixedStringAttribute(int Length);
public VBFixedStringAttribute (int Length);
new Microsoft.VisualBasic.VBFixedStringAttribute : int -> Microsoft.VisualBasic.VBFixedStringAttribute
Public Sub New (Length As Integer)

参数

Length
Int32

固定字符串的长度。The length of the fixed string.

注解

当特性应用到字符串时,构造函数将运行 VBFixedStringAttributeThe constructor runs when the VBFixedStringAttribute attribute is applied to a string.

适用于

另请参阅