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 屬性套用到字串時,建構子會執行。

適用於

另請參閱