TagHelperAttribute 생성자

정의

오버로드

TagHelperAttribute(String)

지정된 name를 사용하여 의 TagHelperAttribute 새 instance 인스턴스화합니다. ValueStyle가 로 설정되고 Value 로 설정 Minimized 됩니다null.

TagHelperAttribute(String, Object)

지정된 namevalue를 사용하여 의 TagHelperAttribute 새 instance 인스턴스화합니다. ValueStyleDoubleQuotes로 설정됩니다.

TagHelperAttribute(String, Object, HtmlAttributeValueStyle)

지정된 namevaluevalueStyle를 사용하여 의 TagHelperAttribute 새 instance 인스턴스화합니다.

TagHelperAttribute(String)

Source:
TagHelperAttribute.cs
Source:
TagHelperAttribute.cs

지정된 name를 사용하여 의 TagHelperAttribute 새 instance 인스턴스화합니다. ValueStyle가 로 설정되고 Value 로 설정 Minimized 됩니다null.

public:
 TagHelperAttribute(System::String ^ name);
public TagHelperAttribute (string name);
new Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute : string -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute
Public Sub New (name As String)

매개 변수

name
String

특성의 Name입니다.

적용 대상

TagHelperAttribute(String, Object)

Source:
TagHelperAttribute.cs
Source:
TagHelperAttribute.cs

지정된 namevalue를 사용하여 의 TagHelperAttribute 새 instance 인스턴스화합니다. ValueStyleDoubleQuotes로 설정됩니다.

public:
 TagHelperAttribute(System::String ^ name, System::Object ^ value);
public TagHelperAttribute (string name, object value);
new Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute : string * obj -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute
Public Sub New (name As String, value As Object)

매개 변수

name
String

특성의 Name입니다.

value
Object

특성의 Value입니다.

적용 대상

TagHelperAttribute(String, Object, HtmlAttributeValueStyle)

Source:
TagHelperAttribute.cs
Source:
TagHelperAttribute.cs

지정된 namevaluevalueStyle를 사용하여 의 TagHelperAttribute 새 instance 인스턴스화합니다.

public:
 TagHelperAttribute(System::String ^ name, System::Object ^ value, Microsoft::AspNetCore::Razor::TagHelpers::HtmlAttributeValueStyle valueStyle);
public TagHelperAttribute (string name, object value, Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle valueStyle);
new Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute : string * obj * Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute
Public Sub New (name As String, value As Object, valueStyle As HtmlAttributeValueStyle)

매개 변수

name
String

새 instance 입니다Name.

value
Object

새 instance 입니다Value.

valueStyle
HtmlAttributeValueStyle

새 instance 입니다ValueStyle.

설명

가 이 MinimizedvaluevalueStyle 이 instance 렌더링될 때 가 무시됩니다.

적용 대상