共用方式為


FromQueryAttribute 類別

定義

指定應該使用要求查詢字串來系結參數或屬性。

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
繼承
FromQueryAttribute
屬性
實作

建構函式

FromQueryAttribute()

指定應該使用要求查詢字串來系結參數或屬性。

屬性

BindingSource

取得 BindingSource

Name

查詢字串欄位的名稱。

適用於