When overridden in a derived class, returns the year in the specified
System.DateTime.
'Declaration
Public Overrides Function GetYear( _
ByVal As Date _
) As Integer
public override int GetYear(
DateTime
)
Parameters
- dateTime
- The System.DateTime to read.
Return Value
An integer that represents the year in time.