DateTime.GetTypeCode Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns the TypeCode for value type DateTime.

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

Syntax

Public Function GetTypeCode As TypeCode
public TypeCode GetTypeCode()

Return Value

Type: System..::.TypeCode
The enumerated constant, TypeCode..::.DateTime.

Implements

IConvertible..::.GetTypeCode()()()

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

DateTime Structure

System Namespace