BaseLiteralNodeEquals Method (Object) |
Implementation of the Equals method for Literal Nodes.
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public override bool Equals(
Object obj
)
Public Overrides Function Equals (
obj As Object
) As Boolean
Parameters
- obj
- Type: SystemObject
Object to compare the Node with.
Return Value
Type:
Boolean[Missing <returns> documentation for "M:VDS.RDF.BaseLiteralNode.Equals(System.Object)"]
Remarks
The default behaviour is for Literal Nodes to be considered equal IFF
- Their Language Specifiers are identical (or neither has a Language Specifier)
- Their Data Types are identical (or neither has a Data Type)
- 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