BaseNodeCompareTo Method (IGraphLiteralNode) |
Nodes must implement a CompareTo method to allow them to be Sorted.
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public abstract int CompareTo(
IGraphLiteralNode other
)
Public MustOverride Function CompareTo (
other As IGraphLiteralNode
) As Integer
Parameters
- other
- Type: VDS.RDFIGraphLiteralNode
Node to compare self to.
Return Value
Type:
Int32[Missing <returns> documentation for "M:VDS.RDF.BaseNode.CompareTo(VDS.RDF.IGraphLiteralNode)"]
Implements
IComparableTCompareTo(T)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