FormCollection Classe
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.
Contient les valeurs de formulaire HTTP analysées.
public ref class FormCollection : Microsoft::AspNetCore::Http::IFormCollection, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::Extensions::Primitives::StringValues>>
public class FormCollection : Microsoft.AspNetCore.Http.IFormCollection, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.Extensions.Primitives.StringValues>>
type FormCollection = class
interface IFormCollection
interface seq<KeyValuePair<string, StringValues>>
interface IEnumerable
Public Class FormCollection
Implements IEnumerable(Of KeyValuePair(Of String, StringValues)), IFormCollection
- Héritage
-
FormCollection
- Implémente
Constructeurs
| FormCollection(Dictionary<String,StringValues>, IFormFileCollection) |
Initialise une nouvelle instance de FormCollection. |
Champs
| Empty |
FormCollection vide. |
Propriétés
| Count |
Obtient le nombre d’éléments contenus dans le HeaderDictionary;. |
| Files |
Obtient les fichiers associés au formulaire HTTP. |
| Item[String] |
Obtient ou définit la valeur associée à partir de la collection, en une seule chaîne. |
| Keys |
Obtient un ICollection<T> contenant les clés de IFormCollection. |
Méthodes
| ContainsKey(String) |
Détermine si HeaderDictionary contient une clé spécifique. |
| GetEnumerator() |
Retourne un énumérateur de struct qui itère au sein d’une collection sans boxing et qui est également utilisé via l’interface IFormCollection . |
| TryGetValue(String, StringValues) |
Récupère une valeur du dictionnaire. |
Implémentations d’interfaces explicites
| IEnumerable.GetEnumerator() |
Retourne un énumérateur qui itère au sein d’une collection, zones dans un chemin non vide. |
| IEnumerable<KeyValuePair<String,StringValues>>.GetEnumerator() |
Retourne un énumérateur qui itère au sein d’une collection, zones dans un chemin non vide. |