Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
SimpleDocument..::.GetHashCode Method
SimpleDocument Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Provide a hash value for this XML document 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 override int GetHashCode()

#### Return Value

The hash value for this XML value.

#### Implements

IXmlValue..::.GetHashCode()()()
IXmlValue..::.GetHashCode()()()
IXmlValue..::.GetHashCode()()()

# Remarks

Note that this overrides the contract of the GetHashCode() method in the super interface IXmlElement. The hash value is defined as a xor of the following:

1. the GetHashCode() from the root element
2. the GetHashCode() from the document type (uri and optional name)

# See Also

SimpleDocument Class
Tangosol.Run.Xml Namespace