Delen via


IFormCollection Interface

Definition

Represents the parsed form values sent with the HttpRequest.

public interface class IFormCollection : System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::Extensions::Primitives::StringValues>>
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))
Derived
Implements

Properties

Count

Gets the number of elements contained in the IFormCollection.

Files

The file collection sent with the request.

Item[String]

Gets the value with the specified key.

Keys

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

Methods

ContainsKey(String)

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

TryGetValue(String, StringValues)

Gets the value associated with the specified key.

Applies to