TagHelperRequiredAttributeDescriptor.IsMatch(String, String) Method

Definition

Determines if the current TagHelperRequiredAttributeDescriptor matches the given attributeName and 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

Parameters

attributeName
String

An HTML attribute name.

attributeValue
String

An HTML attribute value.

Returns

Boolean

true if the current TagHelperRequiredAttributeDescriptor matches attributeName and attributeValue; false otherwise.

Applies to