Oracle® Coherence .NET API Reference Release 3.6
E15727-01

Provide a hash value for the XML element and all of its contained information.

Namespace:  Tangosol.Run.Xml
Assembly:  Coherence (in Coherence.dll) Version: 3.6.0.0 (3.6.0.0)

Syntax

C#
public static int HashElement(
	IXmlElement xml
)

Return Value

The hash value for the XML element.

Remarks

The hash value is defined as a xor of the following:
  • the GetHashCode() from the element's value (i.e. base.GetHashCode())
  • the GetHashCode() from each attribute name
  • the GetHashCode() from each attribute value
  • the GetHashCode() from each sub-element

See Also