Class TextEvent
Event for representing plain text content (XML Text Nodes).
Inherited Members
Namespace: VDS.RDF.Parsing.Events.RdfXml
Assembly: dotNetRdf.dll
Syntax
public class TextEvent : BaseRdfXmlEvent, IRdfXmlEvent, IEvent
Constructors
| Edit this page View SourceTextEvent(string, string)
Creates a new Text Node.
Declaration
public TextEvent(string value, string sourceXml)
Parameters
Type | Name | Description |
---|---|---|
string | value | Textual Content of the XML Text Node. |
string | sourceXml | Source XML of the Node. |
TextEvent(string, string, PositionInfo)
Creates a new Text Node.
Declaration
public TextEvent(string value, string sourceXml, PositionInfo pos)
Parameters
Type | Name | Description |
---|---|---|
string | value | Textual Content of the XML Text Node. |
string | sourceXml | Source XML of the Node. |
PositionInfo | pos | Position Info. |
Properties
| Edit this page View SourceValue
Gets the Textual Content of the Event.
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceToString()
Gets the String representation of the Event.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |