TagHelperRequiredAttributeDescriptor.IsMatch(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
true if the current TagHelperRequiredAttributeDescriptor matches
attributeName and attributeValue; false otherwise.