Partilhar via


HashCode Members

Include Protected Members
Include Inherited Members

Provides a wrapper for a byte array that represents a hash value of a larger structure or data element.

The HashCode type exposes the following members.

Constructors

  Name Description
Public method HashCode([]) Constructs the class so that the hash code object can be created with an array of bytes representing the hash value.
Public method HashCode(String) Constructs the class to create the hash code object with a base64-encoded string that contains the bytes representing the hash value.

Top

Properties

  Name Description
Public property Size Gets the size of the byte array representation of the hash code.

Top

Methods

  Name Description
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method Equals Determines whether one hash value is equal to another. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Returns a hash code value. (Overrides Object.GetHashCode().)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Public method GetType (Inherited from Object.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public method ToString Converts the hash value to a base64-encoded string. (Overrides Object.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Equality Overloads the equality operator (==) so that it can be used to test the equality between two hash code values.
Public operatorStatic member Inequality Overloads the inequality operator (!=) so that it can be used to test the inequality between two hash code values.

Top

See Also

Reference

HashCode Class

Microsoft.BusinessData.Infrastructure Namespace