Share via


XmlElement.InnerText Property

Definition

Gets the text from inside the XML.

public:
 property Platform::String ^ InnerText { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring InnerText();

void InnerText(winrt::hstring value);
public string InnerText { get; set; }
var string = xmlElement.innerText;
xmlElement.innerText = string;
Public Property InnerText As String

Property Value

String

Platform::String

winrt::hstring

The text from inside the XML. Returns an empty string if there is no text.

Implements

Applies to