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
属性值
true 如果当前 Type 是可表示多维数组的数组类型或具有任意下限的数组,则为; 否则为 false 。true 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.