ModelMetadata.IsCollectionType 属性

定义

获取一个值,该值指示是否 ModelType 为集合类型。

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

属性值

注解

集合类型定义为 TypeICollection<T>分配给 的 。

适用于