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)

'Declaration
Public Sub SetInnerText ( _
	innerText As String _
)

Parameters

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

The inner text is automatically HTML-encoded.

Community Additions

ADD
Show: