HtmlHelper.GenerateCheckBox メソッド

定義

チェック ボックスを生成します。

protected:
 virtual Microsoft::AspNetCore::Html::IHtmlContent ^ GenerateCheckBox(Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ modelExplorer, System::String ^ expression, Nullable<bool> isChecked, System::Object ^ htmlAttributes);
protected virtual Microsoft.AspNetCore.Html.IHtmlContent GenerateCheckBox (Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer, string expression, bool? isChecked, object htmlAttributes);
abstract member GenerateCheckBox : Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer * string * Nullable<bool> * obj -> Microsoft.AspNetCore.Html.IHtmlContent
override this.GenerateCheckBox : Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer * string * Nullable<bool> * obj -> Microsoft.AspNetCore.Html.IHtmlContent
Protected Overridable Function GenerateCheckBox (modelExplorer As ModelExplorer, expression As String, isChecked As Nullable(Of Boolean), htmlAttributes As Object) As IHtmlContent

パラメーター

modelExplorer
ModelExplorer

ModelExplorer

expression
String

式。

isChecked
Nullable<Boolean>

ボックスをオンにする必要があるかどうか。

htmlAttributes
Object

Object要素の HTML 属性を含む 。 または、HTML 属性を IDictionary<TKey,TValue> 含むインスタンス。

戻り値

適用対象