BindPropertiesAttribute クラス

定義

装飾されたコントローラーまたは Razor ページ モデルが定義するすべてのプロパティのバインドを有効にする属性。

public ref class BindPropertiesAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public class BindPropertiesAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type BindPropertiesAttribute = class
    inherit Attribute
Public Class BindPropertiesAttribute
Inherits Attribute
継承
BindPropertiesAttribute
属性

コンストラクター

BindPropertiesAttribute()

装飾されたコントローラーまたは Razor ページ モデルが定義するすべてのプロパティのバインドを有効にする属性。

プロパティ

SupportsGet

の場合 true、GET 要求でプロパティをバインドできます。 の場合 false、プロパティは GET 要求でモデルのバインドまたは検証を受け取りません。

既定値は false です。

適用対象