IFormCollection IFormCollection IFormCollection Interface


Represents the parsed form values sent with the HttpRequest.

public interface IFormCollection : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.Extensions.Primitives.StringValues>>
type IFormCollection = interface
    interface seq<KeyValuePair<string, StringValues>>
    interface IEnumerable
Public Interface IFormCollection
Implements IEnumerable(Of KeyValuePair(Of String, StringValues))


Count Count Count

Gets the number of elements contained in the IFormCollection.

Files Files Files

The file collection sent with the request.

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

Gets the value with the specified key.

Keys Keys Keys

Gets an ICollection<T> containing the keys of the IFormCollection.


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

Determines whether the IFormCollection contains an element with the specified key.

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

Gets the value associated with the specified key.

Applies to