BitVector32::GetHashCode Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Serves as a hash function for the BitVector32.

Namespace:   System.Collections.Specialized
Assembly:  System (in System.dll)

public:
virtual int GetHashCode() override

Return Value

Type: System::Int32

A hash code for the BitVector32.

The hash code of a BitVector32 is based on the value of Data. Two instances of BitVector32 with the same value for Data will also generate the same hash code.

This method is an O(1) operation.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
Show: