BindNeverAttribute 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示应从模型绑定中排除属性。 应用于属性时,模型绑定系统将排除该属性。 应用于类型时,模型绑定系统将排除该类型定义的所有属性。
public ref class BindNeverAttribute sealed : Microsoft::AspNetCore::Mvc::ModelBinding::BindingBehaviorAttribute[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class BindNeverAttribute : Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorAttribute[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class BindNeverAttribute : Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorAttribute[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type BindNeverAttribute = class
    inherit BindingBehaviorAttribute[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type BindNeverAttribute = class
    inherit BindingBehaviorAttributePublic NotInheritable Class BindNeverAttribute
Inherits BindingBehaviorAttribute- 继承
- 属性
构造函数
| BindNeverAttribute() | 初始化一个新 BindNeverAttribute 实例。 | 
属性
| Behavior | BindingBehavior获取要应用的 。(继承自 BindingBehaviorAttribute) |