Share via


FixedBufferAttribute(Type, Int32) 建構函式

定義

初始化 FixedBufferAttribute 類別的新執行個體。

public:
 FixedBufferAttribute(Type ^ elementType, int length);
public FixedBufferAttribute (Type elementType, int length);
new System.Runtime.CompilerServices.FixedBufferAttribute : Type * int -> System.Runtime.CompilerServices.FixedBufferAttribute
Public Sub New (elementType As Type, length As Integer)

參數

elementType
Type

緩衝區中包含的項目型別。

length
Int32

緩衝區中的項目數。

適用於