BindAttribute クラス

定義

パラメーターへのモデル バインディングが発生する方法の詳細を提供するための属性を表します。

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)]
public sealed class BindAttribute : Attribute
type BindAttribute = class
    inherit Attribute
Public NotInheritable Class BindAttribute
Inherits Attribute
継承
BindAttribute
属性

コンストラクター

BindAttribute()

BindAttribute クラスの新しいインスタンスを初期化します。

プロパティ

Exclude

バインドが許可されていないプロパティ名のコンマ区切りリストを取得または設定します。

Include

バインドが許可されているプロパティ名のコンマ区切りリストを取得または設定します。

Prefix

アクション引数またはモデル プロパティにバインドするために、マークアップを表示するときに使用されるプレフィックスを取得または設定します。

メソッド

IsPropertyAllowed(String)

指定されたプロパティの使用が許可されているかどうかを判断します。

適用対象