XmlBuilder.SetTagInnerText Method

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
)
Not applicable.

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 Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: