TagBuilder.MergeAttribute Method

Definition

Overloads

MergeAttribute(String, String, Boolean)

Merge an attribute.

MergeAttribute(String, String)

Merge an attribute.

MergeAttribute(String, String, Boolean)

Source:
TagBuilder.cs
Source:
TagBuilder.cs

Merge an attribute.

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)

Parameters

key
String

The attribute key.

value
String

The attribute value.

replaceExisting
Boolean

Whether to replace an existing value.

Applies to

MergeAttribute(String, String)

Source:
TagBuilder.cs
Source:
TagBuilder.cs

Merge an attribute.

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)

Parameters

key
String

The attribute key.

value
String

The attribute value.

Applies to