XmlBuilder.SetTagInnerText Method

Note: This method is new in the .NET Framework version 2.0.

Sets the Xml control's inner text.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

public:
virtual void SetTagInnerText (
	String^ text
) override
public void SetTagInnerText (
	String text
)
public override function SetTagInnerText (
	text : String
)

Parameters

text

The value to insert as the inner text.

Exception typeCondition

XmlException

The String object passed in is not well-formed XML.

This method loads the String passed in to an XML document to determine whether it is well-formed. If it is, the code calls the SetTagInnerText method of the ControlBuilder class.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: