共用方式為


HtmlTargetElementAttribute.Attributes 屬性

定義

以逗號分隔 String 的屬性選取器,HTML 元素必須符合 ITagHelper 才能執行 。 * 在屬性名稱結尾做為前置詞比對。 以方括弧括住的值會當做 CSS 屬性值選取器來處理。 支援運算子 、 和 ,例如 "name""[name]""[ name ^= 'value' ]""[name=value]"=$=^=

public:
 property System::String ^ Attributes { System::String ^ get(); void set(System::String ^ value); };
public string Attributes { get; set; }
member this.Attributes : string with get, set
Public Property Attributes As String

屬性值

適用於