Type.GetTypeCodeImpl Method ()

.NET Framework (current version)

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

Returns the underlying type code of this Type instance.

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

abstract GetTypeCodeImpl : unit -> TypeCode
override GetTypeCodeImpl : unit -> TypeCode

Return Value

Type: System.TypeCode

The type code of the underlying type.

This method provides the implementation for the static (in C#) or Shared (in Visual Basic) GetTypeCode(Type) method. When you inherit from Type, you can override this method to provide your own implementation of GetTypeCode.

.NET Framework
Available since 4.0
Return to top