VBFixedArrayAttribute 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化該屬性的 Bounds 價值。
多載
| 名稱 | Description |
|---|---|
| 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 該屬性套用到陣列時,建構子就會執行。