Click or drag to resize

BaseLiteralNodeEquals Method (Object)

Implementation of the Equals method for Literal Nodes.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
public override bool Equals(
	Object obj


Type: SystemObject
Object to compare the Node with.

Return Value

Type: Boolean

[Missing <returns> documentation for "M:VDS.RDF.BaseLiteralNode.Equals(System.Object)"]

The default behaviour is for Literal Nodes to be considered equal IFF
  1. Their Language Specifiers are identical (or neither has a Language Specifier)
  2. Their Data Types are identical (or neither has a Data Type)
  3. Their String values are identical
This behaviour can be overridden to use value equality by setting the LiteralEqualityMode option to be Loose if this is more suited to your application.
See Also