HtmlHelperLabelExtensions.LabelForModel 메서드

정의

오버로드

LabelForModel(IHtmlHelper)

<현재 모델의 레이블> 요소를 반환합니다.

LabelForModel(IHtmlHelper, Object)

<현재 모델의 레이블> 요소를 반환합니다.

LabelForModel(IHtmlHelper, String)

<현재 모델의 레이블> 요소를 반환합니다.

LabelForModel(IHtmlHelper, String, Object)

<현재 모델의 레이블> 요소를 반환합니다.

LabelForModel(IHtmlHelper)

Source:
HtmlHelperLabelExtensions.cs
Source:
HtmlHelperLabelExtensions.cs

<현재 모델의 레이블> 요소를 반환합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Html::IHtmlContent ^ LabelForModel(Microsoft::AspNetCore::Mvc::Rendering::IHtmlHelper ^ htmlHelper);
public static Microsoft.AspNetCore.Html.IHtmlContent LabelForModel (this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper);
static member LabelForModel : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper -> Microsoft.AspNetCore.Html.IHtmlContent
<Extension()>
Public Function LabelForModel (htmlHelper As IHtmlHelper) As IHtmlContent

매개 변수

htmlHelper
IHtmlHelper

이 메서드가 IHtmlHelper 확장되는 instance.

반환

레이블> 요소를 포함하는 새 IHtmlContent 입니다<.

적용 대상

LabelForModel(IHtmlHelper, Object)

Source:
HtmlHelperLabelExtensions.cs
Source:
HtmlHelperLabelExtensions.cs

<현재 모델의 레이블> 요소를 반환합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Html::IHtmlContent ^ LabelForModel(Microsoft::AspNetCore::Mvc::Rendering::IHtmlHelper ^ htmlHelper, System::Object ^ htmlAttributes);
public static Microsoft.AspNetCore.Html.IHtmlContent LabelForModel (this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, object htmlAttributes);
static member LabelForModel : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper * obj -> Microsoft.AspNetCore.Html.IHtmlContent
<Extension()>
Public Function LabelForModel (htmlHelper As IHtmlHelper, htmlAttributes As Object) As IHtmlContent

매개 변수

htmlHelper
IHtmlHelper

이 메서드가 IHtmlHelper 확장되는 instance.

htmlAttributes
Object

Object 요소에 대한 HTML 특성이 들어 있는 입니다. IDictionary<TKey,TValue> 또는 HTML 특성을 포함하는 instance.

반환

레이블> 요소를 포함하는 새 IHtmlContent 입니다<.

적용 대상

LabelForModel(IHtmlHelper, String)

Source:
HtmlHelperLabelExtensions.cs
Source:
HtmlHelperLabelExtensions.cs

<현재 모델의 레이블> 요소를 반환합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Html::IHtmlContent ^ LabelForModel(Microsoft::AspNetCore::Mvc::Rendering::IHtmlHelper ^ htmlHelper, System::String ^ labelText);
public static Microsoft.AspNetCore.Html.IHtmlContent LabelForModel (this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string labelText);
static member LabelForModel : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper * string -> Microsoft.AspNetCore.Html.IHtmlContent
<Extension()>
Public Function LabelForModel (htmlHelper As IHtmlHelper, labelText As String) As IHtmlContent

매개 변수

htmlHelper
IHtmlHelper

이 메서드가 IHtmlHelper 확장되는 instance.

labelText
String

요소의 내부 텍스트입니다.

반환

레이블> 요소를 포함하는 새 IHtmlContent 입니다<.

적용 대상

LabelForModel(IHtmlHelper, String, Object)

Source:
HtmlHelperLabelExtensions.cs
Source:
HtmlHelperLabelExtensions.cs

<현재 모델의 레이블> 요소를 반환합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Html::IHtmlContent ^ LabelForModel(Microsoft::AspNetCore::Mvc::Rendering::IHtmlHelper ^ htmlHelper, System::String ^ labelText, System::Object ^ htmlAttributes);
public static Microsoft.AspNetCore.Html.IHtmlContent LabelForModel (this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string labelText, object htmlAttributes);
static member LabelForModel : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper * string * obj -> Microsoft.AspNetCore.Html.IHtmlContent
<Extension()>
Public Function LabelForModel (htmlHelper As IHtmlHelper, labelText As String, htmlAttributes As Object) As IHtmlContent

매개 변수

htmlHelper
IHtmlHelper

이 메서드가 IHtmlHelper 확장되는 instance.

labelText
String

요소의 내부 텍스트입니다.

htmlAttributes
Object

Object 요소에 대한 HTML 특성이 들어 있는 입니다. IDictionary<TKey,TValue> 또는 HTML 특성을 포함하는 instance.

반환

레이블> 요소를 포함하는 새 IHtmlContent 입니다<.

적용 대상