ModelMetadata.IsCollectionType Property

Definition

Gets a value indicating whether or not ModelType is a collection type.

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

Property Value

Remarks

A collection type is defined as a Type which is assignable to ICollection<T>.

Applies to