ModelMetadata.IsEnumerableType Property

Definition

Gets a value indicating whether or not ModelType is an enumerable type.

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

Property Value

Remarks

An enumerable type is defined as a Type which is assignable to IEnumerable, and is not a String.

Applies to