FormCollection FormCollection FormCollection Class

Definition

Contains the parsed form values.

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
Inheritance
FormCollectionFormCollectionFormCollection
Implements

Constructors

FormCollection(Dictionary<String,StringValues>, IFormFileCollection) FormCollection(Dictionary<String,StringValues>, IFormFileCollection) FormCollection(Dictionary<String,StringValues>, IFormFileCollection)

Fields

Empty Empty Empty

Properties

Count Count Count

Gets the number of elements contained in the HeaderDictionary;.

Files Files Files
Item[String] Item[String] Item[String]

Get or sets the associated value from the collection as a single string.

Keys Keys Keys

Methods

ContainsKey(String) ContainsKey(String) ContainsKey(String)

Determines whether the HeaderDictionary contains a specific key.

GetEnumerator() GetEnumerator() GetEnumerator()

Returns an struct enumerator that iterates through a collection without boxing and is also used via the IFormCollection interface.

TryGetValue(String, StringValues) TryGetValue(String, StringValues) TryGetValue(String, StringValues)

Retrieves a value from the dictionary.

Explicit Interface Implementations

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

Returns an enumerator that iterates through a collection, boxes in non-empty path.

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection, boxes in non-empty path.

Applies to