Aracılığıyla paylaş


BindNeverAttribute Sınıf

Tanım

Bir özelliğin model bağlamasından dışlanması gerektiğini gösterir. Bir özelliğe uygulandığında, model bağlama sistemi bu özelliği dışlar. Bir türe uygulandığında, model bağlama sistemi türün tanımladığı tüm özellikleri dışlar.

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 BindingBehaviorAttribute
Public NotInheritable Class BindNeverAttribute
Inherits BindingBehaviorAttribute
Devralma
BindNeverAttribute
Öznitelikler

Oluşturucular

BindNeverAttribute()

Yeni BindNeverAttribute bir örnek başlatır.

Özellikler

Behavior

Uygulanacak öğesini BindingBehavior alır.

(Devralındığı yer: BindingBehaviorAttribute)

Şunlara uygulanır