FormCollection Class

Definition

Contains the parsed form values.

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

Constructors

FormCollection(Dictionary<String,StringValues>, IFormFileCollection)

Fields

Empty

Properties

Count

Gets the number of elements contained in the HeaderDictionary;.

Files
Item[String]

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

Keys

Methods

ContainsKey(String)

Determines whether the HeaderDictionary contains a specific key.

GetEnumerator()

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

TryGetValue(String, StringValues)

Retrieves a value from the dictionary.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

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

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

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

Applies to