dotNetRDF API Documentation

BaseNode.CompareTo(IBlankNode) Method

Nodes must implement a CompareTo method to allow them to be Sorted

public abstract int CompareTo(
   IBlankNode other
);

Parameters

other
Node to compare self to

Return Value

Implements

IComparable<IBlankNode>.CompareTo

Remarks

Implementations should use the SPARQL Term Sort Order for ordering nodes (as opposed to value sort order). Standard implementations of Node type specific comparisons can be found in ComparisonHelper

See Also

BaseNode Class | VDS.RDF Namespace | BaseNode.CompareTo Overload List