FormCollection Třída

Definice

Obsahuje analyzované hodnoty formuláře HTTP.

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
Dědičnost
FormCollection
Implementuje

Konstruktory

FormCollection(Dictionary<String,StringValues>, IFormFileCollection)

Inicializuje novou instanci FormCollection.

Pole

Empty

Prázdný FormCollection.

Vlastnosti

Count

Získá počet prvků obsažených v HeaderDictionary;.

Files

Získá soubory asociované s formulářem HTTP.

Item[String]

Získá nebo nastaví přidruženou hodnotu z kolekce jako jeden řetězec.

Keys

ICollection<T> Získá obsahující klíče .IFormCollection

Metody

ContainsKey(String)

Určuje, zda HeaderDictionary obsahuje konkrétní klíč.

GetEnumerator()

Vrátí enumerátor struktury, který iteruje kolekci bez boxování a používá se také prostřednictvím IFormCollection rozhraní.

TryGetValue(String, StringValues)

Načte hodnotu ze slovníku.

Explicitní implementace rozhraní

IEnumerable.GetEnumerator()

Vrátí výčet, který iteruje kolekcí, pole v neprázdné cestě.

IEnumerable<KeyValuePair<String,StringValues>>.GetEnumerator()

Vrátí výčet, který iteruje kolekcí, pole v neprázdné cestě.

Platí pro