Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
IFormCollection Interface
Definition
- Namespace:
- Microsoft.AspNetCore.Http
- Assembly:
- Microsoft.AspNetCore.Http.Features.dll
- Package:
- Microsoft.AspNetCore.Http.Features v1.0.0
- Package:
- Microsoft.AspNetCore.Http.Features v1.1.0
- Package:
- Microsoft.AspNetCore.App.Ref v10.0.0
- Package:
- Microsoft.AspNetCore.App.Ref v11.0.0-preview.4.26230.115
- Package:
- Microsoft.AspNetCore.Http.Features v2.0.0
- Package:
- Microsoft.AspNetCore.Http.Features v2.1.0
- Package:
- Microsoft.AspNetCore.Http.Features v2.2.0
- Package:
- Microsoft.AspNetCore.Http.Features v3.0.3
- Package:
- Microsoft.AspNetCore.Http.Features v3.1.18
- Package:
- Microsoft.AspNetCore.Http.Features v5.0.9
- Package:
- Microsoft.AspNetCore.App.Ref v6.0.36
- Package:
- Microsoft.AspNetCore.App.Ref v7.0.5
- Package:
- Microsoft.AspNetCore.App.Ref v8.0.19
- Package:
- Microsoft.AspNetCore.App.Ref v9.0.8
- Source:
- IFormCollection.cs
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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
Feedback
Was this page helpful?
