Compartilhar via


TagHelperRequiredAttributeDescriptor.IsMatch(String, String) Método

Definição

Determina se o atual TagHelperRequiredAttributeDescriptor corresponde ao determinado attributeName e attributeValueao .

public:
 bool IsMatch(System::String ^ attributeName, System::String ^ attributeValue);
public bool IsMatch (string attributeName, string attributeValue);
member this.IsMatch : string * string -> bool
Public Function IsMatch (attributeName As String, attributeValue As String) As Boolean

Parâmetros

attributeName
String

Um nome de atributo HTML.

attributeValue
String

Um valor de atributo HTML.

Retornos

true se o atual TagHelperRequiredAttributeDescriptor corresponder attributeName e attributeValue; false caso contrário, .

Aplica-se a