DataBoundControl.IsUsingModelBinders 属性
定义
获取一个值,该值指示是否使用模型绑定。Gets a value that indicates whether model binding is in use.
protected:
virtual property bool IsUsingModelBinders { bool get(); };
protected override bool IsUsingModelBinders { get; }
member this.IsUsingModelBinders : bool
Protected Overrides ReadOnly Property IsUsingModelBinders As Boolean
属性值
如果正在使用模型绑定,则为 true;否则为 false。true if model binding is in use; otherwise, false.
注解
有关如何在 Web 窗体中使用模型绑定的教程系列,请参阅 模型绑定和 Web 窗体。For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.