Click or drag to resize

BaseNodeToString Method

Nodes must implement a ToString method.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public abstract string ToString()

Return Value

Type: String

[Missing <returns> documentation for "M:VDS.RDF.BaseNode.ToString"]

Implements

INodeToString
Remarks

Essential for the implementation of GetHashCode to work correctly, Nodes should generate a String representation that is 'unique' as far as that is possible.

Any two Nodes which match via the Equals method (based on strict RDF Specification Equality) should produce the same String representation since Hash Codes are generated by calling GetHashCode on this String.

See Also