Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
XmlHelper..::.HashElement Method
XmlHelper Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-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.1.0 (3.6.1.0)

# Syntax

C#
    public static int HashElement(
    	IXmlElement xml
    )

#### Parameters

xml
  Type: Tangosol.Run.Xml..::.IXmlElement
  The IXmlElement.

#### 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

XmlHelper Class
Tangosol.Run.Xml Namespace