Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

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.7.1.23 (3.7.1.23)

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