Share via


FromQueryAttribute Sınıf

Tanım

bir parametrenin veya özelliğin istek sorgu dizesi kullanılarak bağlanması gerektiğini belirtir.

public ref class FromQueryAttribute : Attribute, Microsoft::AspNetCore::Mvc::ModelBinding::IBindingSourceMetadata, Microsoft::AspNetCore::Mvc::ModelBinding::IModelNameProvider
[System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class FromQueryAttribute : Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider
[System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class FromQueryAttribute : Attribute, Microsoft.AspNetCore.Http.Metadata.IFromQueryMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider
[<System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type FromQueryAttribute = class
    inherit Attribute
    interface IBindingSourceMetadata
    interface IModelNameProvider
[<System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type FromQueryAttribute = class
    inherit Attribute
    interface IBindingSourceMetadata
    interface IModelNameProvider
    interface IFromQueryMetadata
Public Class FromQueryAttribute
Inherits Attribute
Implements IBindingSourceMetadata, IModelNameProvider
Public Class FromQueryAttribute
Inherits Attribute
Implements IBindingSourceMetadata, IFromQueryMetadata, IModelNameProvider
Devralma
FromQueryAttribute
Öznitelikler
Uygulamalar

Oluşturucular

FromQueryAttribute()

bir parametrenin veya özelliğin istek sorgu dizesi kullanılarak bağlanması gerektiğini belirtir.

Özellikler

BindingSource

BindingSource öğesini alır.

Name

Sorgu dizesi alanının adı.

Şunlara uygulanır