SupplyParameterFromFormAttribute 类    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示应从具有指定名称的窗体的表单数据中提供关联的属性的值。
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class SupplyParameterFromFormAttribute : Microsoft.AspNetCore.Components.CascadingParameterAttributeBase[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type SupplyParameterFromFormAttribute = class
    inherit CascadingParameterAttributeBasePublic NotInheritable Class SupplyParameterFromFormAttribute
Inherits CascadingParameterAttributeBase- 继承
- 属性
构造函数
| SupplyParameterFromFormAttribute() | 指示应从具有指定名称的窗体的表单数据中提供关联的属性的值。 | 
属性
| FormName | 获取或设置提供此值的窗体的名称。 如果未指定,该值将从当前表单映射范围内的任何传入表单帖子映射。 如果指定,该值将仅从当前映射范围内具有指定名称的窗体映射。 | 
| Name | 获取或设置窗体值的名称。 如果未指定,将使用属性名称。 |