TagHelperRequiredAttributeDescriptor.IsMatch(String, String) Metoda

Definice

Určuje, zda aktuální TagHelperRequiredAttributeDescriptor odpovídá zadaným hodnotám attributeName a 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

Parametry

attributeName
String

Název atributu HTML.

attributeValue
String

Hodnota atributu HTML.

Návraty

Boolean

true , pokud aktuální TagHelperRequiredAttributeDescriptor Shoda attributeName a attributeValue ; v opačném případě NEPRAVDA .

Platí pro