Share via


ReadOnlyTagHelperAttributeList.NameEquals(String, TagHelperAttribute) 메서드

정의

지정된 attribute 의 이름이 name과 같은지 확인합니다.

protected:
 static bool NameEquals(System::String ^ name, Microsoft::AspNetCore::Razor::TagHelpers::TagHelperAttribute ^ attribute);
protected static bool NameEquals (string name, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute attribute);
static member NameEquals : string * Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute -> bool
Protected Shared Function NameEquals (name As String, attribute As TagHelperAttribute) As Boolean

매개 변수

name
String

의 값과 attribute비교할 값입니다 Name.

attribute
TagHelperAttribute

비교할 특성입니다.

반환

truename/소문자를 구분하지 않는 경우 의 Name입니다attribute.

적용 대상