Partager via


TagHelperRequiredAttributeDescriptor.IsMatch(String, String) Méthode

Définition

Détermine si le actuel TagHelperRequiredAttributeDescriptor correspond aux données attributeName et attributeValue.

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

Paramètres

attributeName
String

Nom d’attribut HTML.

attributeValue
String

Valeur d’attribut HTML.

Retours

true si le actuel TagHelperRequiredAttributeDescriptor correspond attributeName à et attributeValue; false sinon.

S’applique à