ReadOnlyTagHelperAttributeList.NameEquals(String, TagHelperAttribute) Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Determina si el especificado attribute tiene el mismo nombre que 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
Parámetros
- attribute
- TagHelperAttribute
Atributo con el que se va a comparar.
Devoluciones
true si name no distingue mayúsculas de minúsculas coincide con attributes Name.