TagBuilder::SetInnerText Method

Visual Studio 2010

Sets the inner text of the tag (element).

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public:
void SetInnerText(
	String^ innerText
)

Parameters

innerText
Type: System::String
The inner text for the tag (element).

The inner text is automatically HTML-encoded.

Community Additions

ADD
Show: