ModelMetadata.IsCollectionType Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient une valeur indiquant si est ou non ModelType un type de collection.
public:
property bool IsCollectionType { bool get(); };
public bool IsCollectionType { get; }
member this.IsCollectionType : bool
Public ReadOnly Property IsCollectionType As Boolean
Valeur de propriété
Remarques
Un type de collection est défini comme un Type qui peut être assigné à ICollection<T> .