共用方式為


TagBuilder.MergeAttribute 方法

定義

多載

MergeAttribute(String, String, Boolean)

合併屬性。

MergeAttribute(String, String)

合併屬性。

MergeAttribute(String, String, Boolean)

來源:
TagBuilder.cs
來源:
TagBuilder.cs

合併屬性。

public:
 void MergeAttribute(System::String ^ key, System::String ^ value, bool replaceExisting);
public void MergeAttribute (string key, string value, bool replaceExisting);
public void MergeAttribute (string key, string? value, bool replaceExisting);
member this.MergeAttribute : string * string * bool -> unit
Public Sub MergeAttribute (key As String, value As String, replaceExisting As Boolean)

參數

key
String

屬性索引鍵。

value
String

屬性值。

replaceExisting
Boolean

是否要取代現有的值。

適用於

MergeAttribute(String, String)

來源:
TagBuilder.cs
來源:
TagBuilder.cs

合併屬性。

public:
 void MergeAttribute(System::String ^ key, System::String ^ value);
public void MergeAttribute (string key, string value);
public void MergeAttribute (string key, string? value);
member this.MergeAttribute : string * string -> unit
Public Sub MergeAttribute (key As String, value As String)

參數

key
String

屬性索引鍵。

value
String

屬性值。

適用於