DateTime.GetTypeCode Method ()


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

Returns the TypeCode for value type DateTime.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

abstract GetTypeCode : unit -> TypeCode
override GetTypeCode : unit -> TypeCode

Return Value

Type: System.TypeCode

The enumerated constant, TypeCode.DateTime.

.NET Framework
Available since 1.1
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top