Type.IsVariableBoundArray 屬性

定義

取得值,指出類型是否為陣列類型,且可代表多維陣列或任意下限的陣列。Gets a value that indicates whether the type is an array type that can represent a multi-dimensional array or an array with an arbitrary lower bound.

public:
 virtual property bool IsVariableBoundArray { bool get(); };
public virtual bool IsVariableBoundArray { get; }
member this.IsVariableBoundArray : bool
Public Overridable ReadOnly Property IsVariableBoundArray As Boolean

屬性值

Boolean

true 如果目前的 Type 陣列類型可以代表多維度陣列或具有任意下限的陣列,則為,否則為 falsetrue if the current Type is an array type that can represent a multi-dimensional array or an array with an arbitrary lower bound; otherwise, false.

備註

如果這個屬性的值是 true 針對陣列型別,則可以用來建立具有任意下限的單一維度或多維度陣列實例。If the value of this property is true for an array type, it can be used to create single-dimensional or multi-dimensional array instances with arbitrary lower bounds. 否則,陣列類型只能用來建立具有零下限的一維陣列實例。Otherwise, the array type can only be used to create instances of single-dimensional arrays with a zero lower bound.

適用於