VBFixedArrayAttribute 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 Bounds
屬性的值。
多載
VBFixedArrayAttribute(Int32) |
初始化 |
VBFixedArrayAttribute(Int32, Int32) |
初始化 |
VBFixedArrayAttribute(Int32)
初始化 Bounds
屬性的值。
public:
VBFixedArrayAttribute(int UpperBound1);
public VBFixedArrayAttribute (int UpperBound1);
new Microsoft.VisualBasic.VBFixedArrayAttribute : int -> Microsoft.VisualBasic.VBFixedArrayAttribute
Public Sub New (UpperBound1 As Integer)
參數
- UpperBound1
- Int32
初始化上方欄位的值,此值代表陣列第一個維度的大小。
備註
當屬性套用至陣列時, VBFixedArrayAttribute
建構函式就會執行。
另請參閱
適用於
VBFixedArrayAttribute(Int32, Int32)
初始化 Bounds
屬性的值。
public:
VBFixedArrayAttribute(int UpperBound1, int UpperBound2);
public VBFixedArrayAttribute (int UpperBound1, int UpperBound2);
new Microsoft.VisualBasic.VBFixedArrayAttribute : int * int -> Microsoft.VisualBasic.VBFixedArrayAttribute
Public Sub New (UpperBound1 As Integer, UpperBound2 As Integer)
參數
- UpperBound1
- Int32
初始化上方欄位的值,此值代表陣列第一個維度的大小。
- UpperBound2
- Int32
初始化上欄位值,此值代表陣列第二個維度的大小。
備註
當屬性套用至陣列時, VBFixedArrayAttribute
建構函式就會執行。
另請參閱
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應