Sdílet prostřednictvím


QName.GetHashCode Method

Definition

Generate the hash code for this QName.

[Android.Runtime.Register("hashCode", "()I", "")]
public override sealed int GetHashCode ();
[<Android.Runtime.Register("hashCode", "()I", "")>]
override this.GetHashCode : unit -> int

Returns

hash code for this QNameObject

Attributes

Remarks

Generate the hash code for this QName.

The hash code is calculated using both the Namespace URI and the local part of the QName. The prefix is <strong><em>NOT</em></strong> used to calculate the hash code.

This method satisfies the general contract of java.lang.Object#hashCode() Object.hashCode().

Java documentation for javax.xml.namespace.QName.hashCode().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to