TagHelperAttributeDescriptor.IsNameMatch(String) Method

Definition

Determines whether HTML attribute name matches this TagHelperAttributeDescriptor.

public:
 bool IsNameMatch(System::String ^ name);
public bool IsNameMatch (string name);
member this.IsNameMatch : string -> bool
Public Function IsNameMatch (name As String) As Boolean

Parameters

name
String

Name of the HTML attribute to check.

Returns

Boolean

true if this TagHelperAttributeDescriptor matches name. false otherwise.

Applies to