VBFixedStringAttribute(Int32) 构造函数

定义

初始化字段的值 SizeConst

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

参数

Length
Int32

固定字符串的长度。

注解

当属性应用于字符串时, VBFixedStringAttribute 构造函数将运行。

适用于

另请参阅