DateTime.IConvertible.GetTypeCode Method

Definition

Returns the TypeCode for this instance.

 virtual TypeCode System.IConvertible.GetTypeCode() = IConvertible::GetTypeCode;
TypeCode IConvertible.GetTypeCode ();
abstract member System.IConvertible.GetTypeCode : unit -> TypeCode
override this.System.IConvertible.GetTypeCode : unit -> TypeCode
Function GetTypeCode () As TypeCode Implements IConvertible.GetTypeCode

Returns

TypeCode

The enumerated constant that is the TypeCode of the class or value type that implements this interface.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the DateTime instance is cast to an IConvertible interface.

Applies to