共用方式為


TagHelperAttributeDescriptor.IsNameMatch(String) 方法

定義

判斷 HTML 屬性 name 是否符合這個 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

參數

name
String

要檢查的 HTML 屬性名稱。

傳回

true 如果符合 ,則 TagHelperAttributeDescriptorname 。 否則為 false

適用於