Class TextEvent
Event for representing plain text content (XML Text Nodes).
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Parsing.Events.RdfXml
Assembly: dotNetRdf.dll
Syntax
public class TextEvent : BaseRdfXmlEvent, IRdfXmlEvent, IEvent
Constructors
| Improve this Doc View SourceTextEvent(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. |
TextEvent(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. |
Properties
| Improve this Doc View SourceValue
Gets the Textual Content of the Event.
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
string |
Methods
| Improve this Doc View SourceToString()
Gets the String representation of the Event.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
object.ToString()