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



Teradata.Client.Provider Namespace > TdPeriodDate Structure : GetHashCode Method
Returns the hash code for this instance.
Syntax
'Declaration
 
Public Overrides Function GetHashCode() As Integer
'Usage
 
Dim instance As TdPeriodDate
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

TdPeriodDate.Begin Exclusive OR (XOR) TdPeriodDate.End

Requirements
ProductVersionsPlatforms
.NET6, 7Windows, Linux, MacOS
.NET Framework4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdPeriodDate Structure
TdPeriodDate Members