TagBuilder.MergeAttribute 方法

定义

重载

MergeAttribute(String, String, Boolean)

合并属性。

MergeAttribute(String, String)

合并属性。

MergeAttribute(String, String, Boolean)

Source:
TagBuilder.cs
Source:
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)

Source:
TagBuilder.cs
Source:
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

特性值。

适用于