共用方式為


VBFixedStringAttribute 成員

表示字串應該視為具有固定長度。

下列表格列出為 VBFixedStringAttribute 型別所公開的成員。

公用建構函式

  名稱 說明
Public method Supported by the .NET Compact Framework VBFixedStringAttribute 初始化 SizeConst 欄位值。

回頁首

公用屬性

  名稱 說明
Public property Supported by the .NET Compact Framework Length 取得字串的長度。
Public property TypeId  在衍生類別中實作時,取得這個 Attribute 的唯一識別項。(繼承自 Attribute)。

回頁首

公用方法

(請參閱 Protected 方法 )

  名稱 說明
Public method Supported by the .NET Compact Framework Equals  多載。 (繼承自 Attribute)。
Public method Static Supported by the .NET Compact Framework GetCustomAttribute  多載。 擷取套用至組件、模組、型別成員或方法參數的指定型別之自訂屬性 (Attribute)。 (繼承自 Attribute)。
Public method Static Supported by the .NET Compact Framework GetCustomAttributes  多載。 擷取套用至組件、模組、型別成員或方法參數的自訂屬性 (Attribute) 陣列。 (繼承自 Attribute)。
Public method Supported by the .NET Compact Framework GetHashCode  傳回這個執行個體的雜湊程式碼。 (繼承自 Attribute)。
Public method Supported by the .NET Compact Framework GetType  取得目前執行個體的 Type。 (繼承自 Object)。
Public method IsDefaultAttribute  在衍生類別中覆寫時,表示這個執行個體的值是否為衍生類別的預設值。 (繼承自 Attribute)。
Public method Static Supported by the .NET Compact Framework IsDefined  多載。 判斷是否將指定型別的任何自訂屬性 (Attribute) 套用至組件、模組、型別成員或方法參數。 (繼承自 Attribute)。
Public method Supported by the .NET Compact Framework Match  在衍生類別中覆寫時,會傳回值,表示這個執行個體是否等於指定物件。 (繼承自 Attribute)。
Public method Static Supported by the .NET Compact Framework ReferenceEquals  判斷指定的 Object 執行個體是否為相同的執行個體。 (繼承自 Object)。
Public method Supported by the .NET Compact Framework ToString  傳回 String,表示目前的 Object。 (繼承自 Object)。

回頁首

Protected 方法

  名稱 說明
Protected method Supported by the .NET Compact Framework Finalize  在記憶體回收 (GC) 回收 Object 前,允許 Object 嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。
Protected method Supported by the .NET Compact Framework MemberwiseClone  建立目前 Object 的表層複本 (Shallow Copy)。 (繼承自 Object)。

回頁首

請參閱

參考

VBFixedStringAttribute 類別
Microsoft.VisualBasic 命名空間
StringBuilder
MarshalAsAttribute

其他資源

VBFixedStringAttribute 類別
Visual Basic 中的屬性
VBFixedStringAttribute 類別成員
VBFixedArrayAttribute 類別
ComClassAttribute 類別
Visual Basic 所用的屬性
FileGet 函式
FilePut 函式
FileOpen 函式