XmlNodeEventArgs.Text Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the text of the XML node being deserialized.
public:
property System::String ^ Text { System::String ^ get(); };
public string? Text { get; }
public string Text { get; }
member this.Text : string
Public ReadOnly Property Text As String
Property Value
The text of the XML node being deserialized.
Examples
The following example prints the text of the unknown XML node that caused the UnknownNode event to occur.
private:
void serializer_UnknownNode( Object^ /*sender*/, XmlNodeEventArgs^ e )
{
Console::WriteLine( "UnknownNode Text: {0}", e->Text );
}
private void serializer_UnknownNode
(object sender, XmlNodeEventArgs e)
{
Console.WriteLine
("UnknownNode Text: " + e.Text);
}
Private Sub serializer_UnknownNode _
(ByVal sender As Object, _
ByVal e As XmlNodeEventArgs)
Console.WriteLine("UnknownNode Text: " & e.Text)
End Sub
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.