อ่านในภาษาอังกฤษ

แชร์ผ่าน


FormFileValueProvider Class

Definition

An IValueProvider adapter for data stored in an IFormFileCollection.

C#
public sealed class FormFileValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider
Inheritance
FormFileValueProvider
Implements

Remarks

Unlike most IValueProvider instances, FormFileValueProvider does not provide any values, but specifically responds to ContainsPrefix(String) queries. This allows the model binding system to recurse in to deeply nested object graphs with only values for form files.

Constructors

Methods

ContainsPrefix(String)

Determines whether the collection contains the specified prefix.

GetValue(String)

Retrieves a value object using the specified key.

Applies to

ผลิตภัณฑ์ เวอร์ชัน
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0