ModelMetadata.IsEnumerableType 属性

定义

获取一个值,该值指示是否 ModelType 为可枚举类型。

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

属性值

注解

可枚举类型定义为 TypeIEnumerable分配给 的 ,而不是 String

适用于