Delen via


TagBuilder.SetInnerText(String) Method

Definition

Sets the InnerHtml property of the element to an HTML-encoded version of the specified string.

public void SetInnerText (string innerText);
member this.SetInnerText : string -> unit
Public Sub SetInnerText (innerText As String)

Parameters

innerText
String

The string to HTML-encode.

Applies to