Share via


VBFixedStringAttribute.Length 屬性

更新:2007 年 11 月

取得字串的長度。

Public ReadOnly Property Length As Integer

傳回值

傳回字串的長度。

備註

當 VBFixedStringAttribute 套用至字串時,該屬性 (Attribute) 的建構函式會設成此屬性 (Property)。

智慧型裝置開發人員注意事項

不支援這個屬性。

需求

命名空間 (Namespace)︰Microsoft.VisualBasic

**類別︰**VBFixedStringAttribute

組件 (Assembly):Visual Basic Runtime Library (在 Microsoft.VisualBasic.dll 中)

請參閱

概念

Visual Basic 所用的屬性

參考

VBFixedStringAttribute 類別

其他資源

Visual Basic 中的屬性