Send feedback on this topic.
Teradata.Client.Provider
GetHashCode Method (TdPeriodTime)



Teradata.Client.Provider Namespace > TdPeriodTime Structure : GetHashCode Method
Returns the hash code for this instance.
Syntax
'Declaration
 
Public Overrides Function GetHashCode() As Integer
'Usage
 
Dim instance As TdPeriodTime
Dim value As Integer
 
value = instance.GetHashCode()
public override int GetHashCode()
public:
int GetHashCode(); override 

Return Value

The hash code is returned.
Remarks

When calculating the hash code of a Period the algorithm that is used is

TdPeriodTime.Begin Exclusive OR (XOR) TdPeriodTime.End

Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdPeriodTime Structure
TdPeriodTime Members